Lines Matching refs:SRC
142 AS_VAR_PUSHDEF([SRC],[ac_top_srcdir])dnl
147 SRC="$ax_enable_builddir_srcdir"
155 if test -f "$SRC/Makefile" ; then
156 a=`grep "^VERSION " "$SRC/Makefile"` ; b=`grep "^VERSION " Makefile`
157 test "$a" != "$b" && rm "$SRC/Makefile"
159 if test -f "$SRC/Makefile" ; then
160 echo "$SRC/Makefile : $SRC/Makefile.in" > $tmp/conftemp.mk
163 if grep '^REMOVED,,,' "$SRC/Makefile" >/dev/null
164 then rm $SRC/Makefile ; fi
165 cp $tmp/conftemp.mk $SRC/makefiles.mk~ ## DEBUGGING
167 if test ! -f "$SRC/Makefile" ; then
254 cp "$tmp/conftemp.sed" "$SRC/makefile.sed~" ## DEBUGGING
255 $SED -f $tmp/conftemp.sed Makefile >$SRC/Makefile
256 if test -f "$SRC/m4_ifval([$2],[$2],[END])" ; then
258 cat $SRC/END >>$SRC/Makefile
260 echo "$xxxx CONFIGURATIONS FOR TOPLEVEL MAKEFILE: " >>$SRC/Makefile
262 if grep '^; echo "MAKE ' $SRC/Makefile >/dev/null ; then
264 $SED -e '/^@ HOST=/s/^/ /' -e '/^; /s/^/ /' $SRC/Makefile \
265 >$SRC/Makefile~
266 (test -s $SRC/Makefile~ && mv $SRC/Makefile~ $SRC/Makefile) 2>/dev/null
272 $SED -f "$tmp/conftemp.sed" "$SRC/Makefile" >$tmp/mkfile.tmp
273 cp "$tmp/conftemp.sed" "$SRC/makefiles.sed~" ## DEBUGGING
274 cp "$tmp/mkfile.tmp" "$SRC/makefiles.out~" ## DEBUGGING
275 if cmp -s "$SRC/Makefile" "$tmp/mkfile.tmp" 2>/dev/null ; then
280 mv "$tmp/mkfile.tmp" "$SRC/Makefile"
285 echo "$xxxx" "$ax_enable_builddir_host" "|$SUB" >>$SRC/Makefile
290 AS_VAR_POPDEF([SRC])dnl