+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
#! @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
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