From: Tom Tromey Date: Tue, 20 Jul 1999 06:25:04 +0000 (+0000) Subject: * autoheader.sh: Fixed regexp when searching for missing symbol. X-Git-Tag: exp-1999-08-23~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=213ef3e8cbd9b185540e596b99080de29c85de54;p=thirdparty%2Fautoconf.git * autoheader.sh: Fixed regexp when searching for missing symbol. From Pavel Roskin. --- diff --git a/ChangeLog b/ChangeLog index 66d2e397..cfbe53ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-07-20 Tom Tromey + + * autoheader.sh: Fixed regexp when searching for missing symbol. + From Pavel Roskin. + 1999-07-16 Tom Tromey * autoheader.sh: Be more stringent when looking to see if symbol diff --git a/autoheader.sh b/autoheader.sh index d46266ab..abf5484a 100644 --- a/autoheader.sh +++ b/autoheader.sh @@ -267,7 +267,7 @@ status=0 if test -n "$syms"; then for sym in $syms; do - if grep "^#[a-z]*[ ]$sym\\>" $TEMPLATES >/dev/null; then + if grep "^#[a-z]*[ ]$sym[ ]*$" $TEMPLATES >/dev/null; then : # All is well. else echo "$0: Symbol \`${sym}' is not covered by $TEMPLATES" >&2