Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/autoconf/dist/lib/autoconf revert previous: au...



details:   https://anonhg.NetBSD.org/src/rev/309a798fb206
branches:  trunk
changeset: 375988:309a798fb206
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed May 24 21:49:38 2023 +0000

description:
revert previous: autoconf doesn't use EREs

autoconf relies upon GNU m4 emacs-style regexs, which
don't support intervals so don't escape these.
A fix to usr.bin/m4 -g (GNU m4 emulation) is incoming.

diffstat:

 external/gpl3/autoconf/dist/lib/autoconf/general.m4 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9f1deb1d03fd -r 309a798fb206 external/gpl3/autoconf/dist/lib/autoconf/general.m4
--- a/external/gpl3/autoconf/dist/lib/autoconf/general.m4       Wed May 24 20:22:23 2023 +0000
+++ b/external/gpl3/autoconf/dist/lib/autoconf/general.m4       Wed May 24 21:49:38 2023 +0000
@@ -2119,7 +2119,7 @@ m4_define([AC_DEFINE_UNQUOTED], [_AC_DEF
 # no backslash, no command substitution, no complex variable
 # substitution, and no quadrigraphs.
 m4_define([_AC_DEFINE_UNQUOTED],
-[m4_if(m4_bregexp([$1], [\\\|`\|\$(\|\$\{\|@]), [-1],
+[m4_if(m4_bregexp([$1], [\\\|`\|\$(\|\${\|@]), [-1],
        [AS_ECHO(["AS_ESCAPE([$1], [""])"]) >>confdefs.h],
        [cat >>confdefs.h <<_ACEOF
 [$1]



Home | Main Index | Thread Index | Old Index