]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* autoconf.sh: Report full macro name for missing macros.
authorAkim Demaille <akim@epita.fr>
Wed, 27 Sep 2000 10:29:30 +0000 (10:29 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 27 Sep 2000 10:29:30 +0000 (10:29 +0000)
ChangeLog
autoconf.in
autoconf.sh
bin/autoconf.in

index fec69e28571b19d7d821a8218cba5c2771af768e..f095c43ed3006f3b598d7d4a6292d47aa4227316 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-27  Lars J. Aas  <larsa@sim.no>
+
+       * autoconf.sh: Report full macro name for missing macros.
+
 2000-09-27  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
 
        * autoheader.sh: Fix trap (EXIT) status.
index 78e9804b9d7e8cc5927bb0c086a98ec152d5adc0..f42a20284f8a628d52e4e0506ba2b07ec59eb290 100644 (file)
@@ -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
         }
index 78e9804b9d7e8cc5927bb0c086a98ec152d5adc0..f42a20284f8a628d52e4e0506ba2b07ec59eb290 100644 (file)
@@ -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
         }
index 78e9804b9d7e8cc5927bb0c086a98ec152d5adc0..f42a20284f8a628d52e4e0506ba2b07ec59eb290 100644 (file)
@@ -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
         }