Lines Matching refs:SRC
141 AS_VAR_PUSHDEF([SRC],[ac_top_srcdir])dnl
146 SRC="$ax_enable_builddir_srcdir"
154 if test -f "$SRC/Makefile" ; then
155 a=`grep "^VERSION " "$SRC/Makefile"` ; b=`grep "^VERSION " Makefile`
156 test "$a" != "$b" && rm "$SRC/Makefile"
158 if test -f "$SRC/Makefile" ; then
159 echo "$SRC/Makefile : $SRC/Makefile.in" > $tmp/conftemp.mk
162 if grep '^REMOVED,,,' "$SRC/Makefile" >/dev/null
163 then rm $SRC/Makefile ; fi
164 cp $tmp/conftemp.mk $SRC/makefiles.mk~ ## DEBUGGING
166 if test ! -f "$SRC/Makefile" ; then
253 cp "$tmp/conftemp.sed" "$SRC/makefile.sed~" ## DEBUGGING
254 $SED -f $tmp/conftemp.sed Makefile >$SRC/Makefile
255 if test -f "$SRC/m4_ifval([$2],[$2],[END])" ; then
257 cat $SRC/END >>$SRC/Makefile
259 echo "$xxxx CONFIGURATIONS FOR TOPLEVEL MAKEFILE: " >>$SRC/Makefile
261 if grep '^; echo "MAKE ' $SRC/Makefile >/dev/null ; then
263 $SED -e '/^@ HOST=/s/^/ /' -e '/^; /s/^/ /' $SRC/Makefile \
264 >$SRC/Makefile~
265 (test -s $SRC/Makefile~ && mv $SRC/Makefile~ $SRC/Makefile) 2>/dev/null
271 $SED -f "$tmp/conftemp.sed" "$SRC/Makefile" >$tmp/mkfile.tmp
272 cp "$tmp/conftemp.sed" "$SRC/makefiles.sed~" ## DEBUGGING
273 cp "$tmp/mkfile.tmp" "$SRC/makefiles.out~" ## DEBUGGING
274 if cmp -s "$SRC/Makefile" "$tmp/mkfile.tmp" 2>/dev/null ; then
279 mv "$tmp/mkfile.tmp" "$SRC/Makefile"
284 echo "$xxxx" "$ax_enable_builddir_host" "|$SUB" >>$SRC/Makefile
289 AS_VAR_POPDEF([SRC])dnl