From: Stefano Lattarini Date: Sun, 27 May 2012 17:33:26 +0000 (+0200) Subject: missing: support AC_CONFIG_HEADERS in addition to obsolete AC_CONFIG_HEADER X-Git-Tag: v1.12b~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21da52c2d428168f06fecf1d7527dc5d1505633a;p=thirdparty%2Fautomake.git missing: support AC_CONFIG_HEADERS in addition to obsolete AC_CONFIG_HEADER * 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 --- diff --git a/lib/missing b/lib/missing index 890514460..074c62c44 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 , 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