changeset 12269:4758cd4c9683

bootstrap: generalize autoheader check * build-aux/bootstrap: Look for AC_CONFIG_HEADER as well as AC_CONFIG_HEADERS.
author Jim Meyering <meyering@redhat.com>
date Thu, 12 Nov 2009 09:42:52 +0100
parents b537cb58d506
children b8dd652dae80
files ChangeLog build-aux/bootstrap
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -729,7 +729,7 @@
 # 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 \