autoconf: * autoheader.sh: Fixed regexp when searching for missing symbol.

From 213ef3e8cbd9b185540e596b99080de29c85de54 Mon Sep 17 00:00:00 2001
From: Tom Tromey <[EMAIL REDACTED]>
Date: Tue, 20 Jul 1999 06:25:04 +0000
Subject: [PATCH] 	* autoheader.sh: Fixed regexp when searching for
 missing symbol. 	From Pavel Roskin.

---
 ChangeLog     | 5 +++++
 autoheader.sh | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 66d2e397..cfbe53ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-07-20  Tom Tromey  <tromey@cygnus.com>
+
+	* autoheader.sh: Fixed regexp when searching for missing symbol.
+	From Pavel Roskin.
+
 1999-07-16  Tom Tromey  <tromey@cygnus.com>
 
 	* 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