summaryrefslogtreecommitdiff
path: root/lib/missing
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-05-27 19:33:26 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-05-27 19:34:06 +0200
commit21da52c2d428168f06fecf1d7527dc5d1505633a (patch)
tree30eef2e238beeaf2cb39da1e32341ce8e1996255 /lib/missing
parent8ad470b671fdbdefe59ed60a1a5aa642c93d30c0 (diff)
downloadautomake-21da52c2d428168f06fecf1d7527dc5d1505633a.tar.gz
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 <stefano.lattarini@gmail.com>
Diffstat (limited to 'lib/missing')
-rwxr-xr-xlib/missing6
1 files changed, 4 insertions, 2 deletions
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 <pinard@iro.umontreal.ca>, 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