bootstrap: generalize autoheader check
authorJim Meyering <meyering@redhat.com>
Thu, 12 Nov 2009 08:42:52 +0000 (09:42 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 12 Nov 2009 08:42:52 +0000 (09:42 +0100)
* build-aux/bootstrap: Look for AC_CONFIG_HEADER as well as
AC_CONFIG_HEADERS.

ChangeLog
build-aux/bootstrap

index 17ccdb4..0347b9f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-11-12  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: generalize autoheader check
+       * build-aux/bootstrap: Look for AC_CONFIG_HEADER as well as
+       AC_CONFIG_HEADERS.
+
 2009-11-11  Eric Blake  <ebb9@byu.net>
 
        mkfifoat: use new modules for Solaris and BSD bugs
index 8f14199..48cc10e 100755 (executable)
@@ -729,7 +729,7 @@ find "$m4_base" "$source_base" \
 # Reconfigure, getting other files.
 
 # Skip autoheader if it's not needed.
-grep '^[        ]*AC_CONFIG_HEADERS\>' configure.ac >/dev/null ||
+grep -E '^[     ]*AC_CONFIG_HEADERS?\>' configure.ac >/dev/null ||
   AUTOHEADER=true
 
 for command in \