bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] build: generalize autoheader check


From: Jim Meyering
Subject: [PATCH] build: generalize autoheader check
Date: Thu, 12 Nov 2009 09:41:35 +0100

FYI, I needed this for diffutils' use:

    AC_CONFIG_HEADER([lib/config.h:lib/config.hin])

I'll adjust the commit message for gnulib.

>From 8c265a45e54a77003ce754fac893eaf292f7cd6d Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 12 Nov 2009 09:38:34 +0100
Subject: [PATCH] build: generalize autoheader check

* bootstrap: Look for AC_CONFIG_HEADER as well as AC_CONFIG_HEADERS.
---
 bootstrap |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bootstrap b/bootstrap
index 97300b4..8afbd8e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -733,7 +733,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 \
--
1.6.5.2.372.gc0502




reply via email to

[Prev in Thread] Current Thread [Next in Thread]