automake-patches
[Top][All Lists]
Advanced

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

[FYI] {master} missing: support AC_CONFIG_HEADERS in addition to obsolet


From: Stefano Lattarini
Subject: [FYI] {master} missing: support AC_CONFIG_HEADERS in addition to obsolete AC_CONFIG_HEADER
Date: Sun, 27 May 2012 19:35:36 +0200

* missing (autoheader*): Do not look only for AC_CONFIG_HEADER when
grepping configure.ac, but also for AC_CONFIG_HEADERS: the latter has
been preferred to the former by several years now in Autoconf.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 lib/missing |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/missing b/lib/missing
index 8905144..074c62c 100755
--- a/lib/missing
+++ b/lib/missing
@@ -1,7 +1,7 @@
 #! /bin/sh
 # Common stub for a few missing GNU programs while installing.
 
-scriptversion=2012-01-06.18; # UTC
+scriptversion=2012-05-23.18; # UTC
 
 # Copyright (C) 1996-2012 Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <address@hidden>, 1996.
@@ -160,7 +160,9 @@ WARNING: '$1' is $msg.  You should only need it if
          you modified 'acconfig.h' or '${configure_ac}'.  You might want
          to install the Autoconf and GNU m4 packages.  Grab them
          from any GNU archive site."
-    files=`sed -n 's/^[ ]*AC_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
+    files=`sed -n -e 's/^[ ]*AC_CONFIG_HEADER(\([^)]*\)).*/\1/p' \
+                  -e 's/^[ ]*AC_CONFIG_HEADERS(\([^)]*\)).*/\1/p' \
+             ${configure_ac}`
     test -z "$files" && files="config.h"
     touch_files=
     for f in $files; do
-- 
1.7.9.5




reply via email to

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