ed1f8b1fc8
Brad, next time, ask me, THANKS... Turn m4 -g test around, so that it actually works on a machine without enough gm4 compatibility.
21 lines
755 B
Plaintext
21 lines
755 B
Plaintext
--- autoconf.sh.orig Wed Nov 17 16:43:04 1999
|
|
+++ autoconf.sh Wed Nov 17 16:43:39 1999
|
|
@@ -112,16 +112,7 @@ else
|
|
use_localdir=
|
|
fi
|
|
|
|
-# Use the frozen version of Autoconf if available.
|
|
-r= f=
|
|
-# Some non-GNU m4's don't reject the --help option, so give them /dev/null.
|
|
-case `$M4 --help < /dev/null 2>&1` in
|
|
-*reload-state*) test -r $AC_MACRODIR/autoconf.m4f && { r=--reload f=f; } ;;
|
|
-*traditional*) ;;
|
|
-*) echo Autoconf requires GNU m4 1.1 or later >&2; rm -f $tmpin; exit 1 ;;
|
|
-esac
|
|
-
|
|
-$M4 -I$AC_MACRODIR $use_localdir $r autoconf.m4$f $infile > $tmpout ||
|
|
+$M4 -g -D__gnu__ -I$AC_MACRODIR $use_localdir autoconf.m4 $infile > $tmpout ||
|
|
{ rm -f $tmpin $tmpout; exit 2; }
|
|
|
|
# You could add your own prefixes to pattern if you wanted to check for
|