From: Akim Demaille Date: Wed, 27 Sep 2000 10:29:30 +0000 (+0000) Subject: * autoconf.sh: Report full macro name for missing macros. X-Git-Tag: autoconf-2.50~604 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6600f6485ea4f5a4eec9e8eaec9e6718f6e14e4;p=thirdparty%2Fautoconf.git * autoconf.sh: Report full macro name for missing macros. --- diff --git a/ChangeLog b/ChangeLog index fec69e285..f095c43ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-09-27 Lars J. Aas + + * autoconf.sh: Report full macro name for missing macros. + 2000-09-27 J. David Anglin * autoheader.sh: Fix trap (EXIT) status. diff --git a/autoconf.in b/autoconf.in index 78e9804b9..f42a20284 100644 --- a/autoconf.in +++ b/autoconf.in @@ -347,7 +347,7 @@ case $task in # Dubious feature: we tolerate macro names when commented. if (/^[^#]*($pattern)/) { - match (\$0, /($pattern)[_A-Za-z0-9]*/) + match (\$0, /([_A-Za-z0-9]*($pattern)[_A-Za-z0-9]*)/) macros [substr (\$0, RSTART, RLENGTH)] = oline some_macros_were_not_expanded = 1 } diff --git a/autoconf.sh b/autoconf.sh index 78e9804b9..f42a20284 100644 --- a/autoconf.sh +++ b/autoconf.sh @@ -347,7 +347,7 @@ case $task in # Dubious feature: we tolerate macro names when commented. if (/^[^#]*($pattern)/) { - match (\$0, /($pattern)[_A-Za-z0-9]*/) + match (\$0, /([_A-Za-z0-9]*($pattern)[_A-Za-z0-9]*)/) macros [substr (\$0, RSTART, RLENGTH)] = oline some_macros_were_not_expanded = 1 } diff --git a/bin/autoconf.in b/bin/autoconf.in index 78e9804b9..f42a20284 100644 --- a/bin/autoconf.in +++ b/bin/autoconf.in @@ -347,7 +347,7 @@ case $task in # Dubious feature: we tolerate macro names when commented. if (/^[^#]*($pattern)/) { - match (\$0, /($pattern)[_A-Za-z0-9]*/) + match (\$0, /([_A-Za-z0-9]*($pattern)[_A-Za-z0-9]*)/) macros [substr (\$0, RSTART, RLENGTH)] = oline some_macros_were_not_expanded = 1 }