From cc528e32f04e9f3a3dc0fb4a1a34dbcb5e5d92e3 Mon Sep 17 00:00:00 2001
From: Tom Tromey <[EMAIL REDACTED]>
Date: Fri, 3 Sep 1999 00:49:08 +0000
Subject: [PATCH] * autoheader.sh: Allow multiple spaces between #undef
and symbol name.
---
ChangeLog | 5 +++++
autoheader.sh | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 8b10b2df..afe1d0d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-09-02 Tom Tromey <tromey@cygnus.com>
+
+ * autoheader.sh: Allow multiple spaces between #undef and symbol
+ name.
+
1999-09-01 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_ACVERSION): Bump to 2.14.1 to differenciate the
diff --git a/autoheader.sh b/autoheader.sh
index abf5484a..a0810145 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