summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-09-30 12:53:28 +0200
committerJim Meyering <meyering@redhat.com>2009-09-30 12:55:57 +0200
commit175f1124af8c350fb7221556b68b16fc9f5bf311 (patch)
tree8f47b50806911cca730c0b3bab49cb412a1eb050 /bootstrap
parent5d9be18c707d515d49bfd064a953f361ca8607b1 (diff)
downloadgzip-175f1124af8c350fb7221556b68b16fc9f5bf311.tar.gz
maint: update bootstrap script
* bootstrap (with_gettext): Update from coreutils.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap9
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index b6dce12..5ef537a 100755
--- a/bootstrap
+++ b/bootstrap
@@ -70,6 +70,9 @@ gnulib_modules=
# Any gnulib files needed that are not in modules.
gnulib_files=
+# A function to be called after everything else in this script.
+bootstrap_epilogue() { :; }
+
# The command to download all .po files for a specified domain into
# a specified directory. Fill in the first %s is the domain name, and
# the second with the destination directory. Use rsync's -L and -r
@@ -728,6 +731,10 @@ find "$m4_base" "$source_base" \
# Reconfigure, getting other files.
+# Skip autoheader if it's not needed.
+grep '^[ ]*AC_CONFIG_HEADERS\>' configure.ac >/dev/null ||
+ AUTOHEADER=true
+
for command in \
libtool \
"${ACLOCAL-aclocal} --force -I m4" \
@@ -796,6 +803,8 @@ if test $with_gettext = yes; then
fi
fi
+bootstrap_epilogue
+
echo "$0: done. Now you can run './configure'."
# Local Variables: