patterns with a value, and spaces between `#' and the directive, e.g.
# define FOO FIXME:
Reported by John Fortin.
+2000-03-25 Akim Demaille <akim@epita.fr>
+
+ * autoheader.sh (checking completeness): Be ready to recognize
+ patterns with a value, and spaces between `#' and the directive, e.g.
+ # define FOO FIXME:
+ Reported by John Fortin.
+
2000-03-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_RUN_IFELSE): New macro.
Jim Meyering meyering@ascend.com
Jiro Takabatake jiro@din.or.jp
John David Anglin dave@hiauly1.hia.nrc.ca
+John Fortin fortinj@attglobal.net
John Interrante interran@uluru.stanford.edu
John W. Eaton jwe@bevo.che.wisc.edu
J"orn Rennecke amylaar@cygnus.co.uk
Koji Arai JCA02266@nifty.ne.jp
Kurt D. Zeilenga kurt@openldap.org
Larry Schwimmer rosebud@cyclone.stanford.edu
-Lars J. Aas larsa@sim.no
Lars Hecking lhecking@nmrc.ucc.ie
+Lars J. Aas larsa@sim.no
Marcus Daniels marcus@sysc.pdx.edu
Marcus Thiessel marcus@xemacs.org
Mark Elbrecht snowball3@usa.net
sed -n '/@BOTTOM@/,${/@BOTTOM@/!p;}' $localdir/acconfig.h >>$tmpout
test -f ${config_h}.bot && cat ${config_h}.bot >>$tmpout
-# Check that all the symbols have a template
-status=0
+# Check that all the symbols have a template.
+status=0
+# Regexp for a white space.
+w='[ ]'
if test -n "$syms"; then
for sym in $syms; do
- if grep "^#[a-z]*[ ][ ]*$sym[ ]*$" $tmpout >/dev/null; then
+ if egrep "^#$w*[a-z]*$w$w*$sym($w*|$w.*)$" $tmpout >/dev/null; then
: # All is well.
else
echo "$0: No template for symbol \`$sym'" >&2
done
fi
+
# If the run was successful, output the result.
if test $status = 0; then
if test $# = 0; then
sed -n '/@BOTTOM@/,${/@BOTTOM@/!p;}' $localdir/acconfig.h >>$tmpout
test -f ${config_h}.bot && cat ${config_h}.bot >>$tmpout
-# Check that all the symbols have a template
-status=0
+# Check that all the symbols have a template.
+status=0
+# Regexp for a white space.
+w='[ ]'
if test -n "$syms"; then
for sym in $syms; do
- if grep "^#[a-z]*[ ][ ]*$sym[ ]*$" $tmpout >/dev/null; then
+ if egrep "^#$w*[a-z]*$w$w*$sym($w*|$w.*)$" $tmpout >/dev/null; then
: # All is well.
else
echo "$0: No template for symbol \`$sym'" >&2
done
fi
+
# If the run was successful, output the result.
if test $status = 0; then
if test $# = 0; then
sed -n '/@BOTTOM@/,${/@BOTTOM@/!p;}' $localdir/acconfig.h >>$tmpout
test -f ${config_h}.bot && cat ${config_h}.bot >>$tmpout
-# Check that all the symbols have a template
-status=0
+# Check that all the symbols have a template.
+status=0
+# Regexp for a white space.
+w='[ ]'
if test -n "$syms"; then
for sym in $syms; do
- if grep "^#[a-z]*[ ][ ]*$sym[ ]*$" $tmpout >/dev/null; then
+ if egrep "^#$w*[a-z]*$w$w*$sym($w*|$w.*)$" $tmpout >/dev/null; then
: # All is well.
else
echo "$0: No template for symbol \`$sym'" >&2
done
fi
+
# If the run was successful, output the result.
if test $status = 0; then
if test $# = 0; then