]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* autoheader.sh: Be more stringent when looking to see if symbol
authorTom Tromey <tromey@redhat.com>
Fri, 16 Jul 1999 23:57:26 +0000 (23:57 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 16 Jul 1999 23:57:26 +0000 (23:57 +0000)
is in a template file.

ChangeLog
autoheader.sh

index 4a219c65d80a1391df9d67cc9a68bbda1255614d..66d2e397ad517fb5cb5919dc3b224eff114aef75 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-07-16  Tom Tromey  <tromey@cygnus.com>
+
+       * autoheader.sh: Be more stringent when looking to see if symbol
+       is in a template file.
+
 1999-07-15  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
 
        * acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): New implementation, to
index 67f642fbc572a0ae04f2dc2ef6bc52fb8ea90f86..d46266ab2b8a5677023caa04f06d87b81049bdff 100644 (file)
@@ -1,6 +1,6 @@
 #! @SHELL@
 # autoheader -- create `config.h.in' from `configure.in'
-# Copyright (C) 1992, 1993, 1994, 1996, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1993, 1994, 1996, 1998, 1999 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -267,7 +267,7 @@ status=0
 
 if test -n "$syms"; then
   for sym in $syms; do
-    if fgrep $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