From 7127847e1d16e94fec7422e637debeed24092c0f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 12 Nov 2009 09:42:52 +0100 Subject: [PATCH] bootstrap: generalize autoheader check * build-aux/bootstrap: Look for AC_CONFIG_HEADER as well as AC_CONFIG_HEADERS. --- ChangeLog | 6 ++++++ build-aux/bootstrap | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 17ccdb44e..0347b9fb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-11-12 Jim Meyering + + bootstrap: generalize autoheader check + * build-aux/bootstrap: Look for AC_CONFIG_HEADER as well as + AC_CONFIG_HEADERS. + 2009-11-11 Eric Blake mkfifoat: use new modules for Solaris and BSD bugs diff --git a/build-aux/bootstrap b/build-aux/bootstrap index 8f1419995..48cc10e47 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -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 \ -- 2.11.0