espie ed1f8b1fc8 Put back mktemp patches as SEPARATE patches.
Brad, next time, ask me, THANKS...

Turn m4 -g test around, so that it actually works on a machine without
enough gm4 compatibility.
2000-03-24 20:48:19 +00:00

24 lines
890 B
Plaintext

--- autoheader.sh.orig Tue Jan 5 08:28:39 1999
+++ autoheader.sh Mon Mar 20 21:02:16 2000
@@ -110,19 +110,10 @@
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/autoheader.m4f && { r=--reload f=f; } ;;
-*traditional*) ;;
-*) echo Autoconf requires GNU m4 1.1 or later >&2; exit 1 ;;
-esac
-
# Extract assignments of SYMS, TYPES, FUNCS, HEADERS, and LIBS from the
# modified autoconf processing of the input file. The sed hair is
# necessary to win for multi-line macro invocations.
-eval "`$M4 -I$AC_MACRODIR $use_localdir $r autoheader.m4$f $infile |
+eval "`$M4 -g -D__gnu__ -I$AC_MACRODIR $use_localdir autoheader.m4 $infile |
sed -n -e '
: again
/^@@@.*@@@$/s/^@@@\(.*\)@@@$/\1/p