From: Ben Elliston Date: Sat, 3 Apr 1999 21:46:58 +0000 (+0000) Subject: 1999-03-01 Gordon Matzigkeit X-Git-Tag: experimental-branchpoint~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7993ab20d400545e51a61dc1088023e0f04f92b;p=thirdparty%2Fautoconf.git 1999-03-01 Gordon Matzigkeit * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't require that macro symbols be valid C identifiers. --- diff --git a/ChangeLog b/ChangeLog index 74e43565..e388686c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -57,6 +57,11 @@ * config.guess: Recognise HP 9000/800. Merged from the master FSF version of this file. +1999-03-01 Gordon Matzigkeit + + * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't require that macro + symbols be valid C identifiers. + 1999-02-28 Ben Elliston * acspecific.m4 (AC_FUNC_VFORK): Allow test to behave correctly diff --git a/acgeneral.m4 b/acgeneral.m4 index 0d4f9143..b496cb33 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -2135,7 +2135,7 @@ dnl Using a here document instead of a string reduces the quoting nightmare. # Protect against Makefile macro expansion. cat > conftest.defs <<\EOF changequote(<<, >>)dnl -s%<<#define>> \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g +s%<<#define>> \([^ ][^ ]*\) *\(.*\)%-D\1=\2%g s%[ `~<<#>>$^&*(){}\\|;'"<>?]%\\&%g s%\[%\\&%g s%\]%\\&%g diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 0d4f9143..b496cb33 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -2135,7 +2135,7 @@ dnl Using a here document instead of a string reduces the quoting nightmare. # Protect against Makefile macro expansion. cat > conftest.defs <<\EOF changequote(<<, >>)dnl -s%<<#define>> \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g +s%<<#define>> \([^ ][^ ]*\) *\(.*\)%-D\1=\2%g s%[ `~<<#>>$^&*(){}\\|;'"<>?]%\\&%g s%\[%\\&%g s%\]%\\&%g