summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-03-31 20:43:35 +0200
committerJim Meyering <meyering@redhat.com>2009-03-31 20:57:11 +0200
commit1417251e296226e34d25d8ca8c2b99d12c2c21f0 (patch)
tree6f981afc57b735f949f4d0b6d48c0bc42abb713a
parent30071248c9e1132b4d5d9559f97b6199cc91556e (diff)
downloadcoreutils-1417251e296226e34d25d8ca8c2b99d12c2c21f0.tar.xz
build: set automake's silent-rules option via configure.ac
* bootstrap: Revert commit 9f39fa855, 2009-03-28, "build: use automake's --silent-rules option when possible". * configure.ac (AM_INIT_AUTOMAKE): Instead, set it here. Require the just-released version of automake: 1.10b.
-rwxr-xr-xbootstrap8
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 8 deletions
diff --git a/bootstrap b/bootstrap
index e834a2b0b..27e4ec28c 100755
--- a/bootstrap
+++ b/bootstrap
@@ -686,12 +686,6 @@ find "$m4_base" "$source_base" \
-depth \( -name '*.m4' -o -name '*.[ch]' \) \
-type l -xtype l -delete > /dev/null 2>&1
-# Use automake's --silent-rules option, if possible.
-automake="${AUTOMAKE-automake} --add-missing --copy --force-missing"
-(${AUTOMAKE-automake} --help) 2>&1 \
- | grep -e '^ *--silent-rules' > /dev/null \
- && automake="$automake --silent-rules"
-
# Reconfigure, getting other files.
for command in \
@@ -699,7 +693,7 @@ for command in \
"${ACLOCAL-aclocal} --force -I m4" \
"${AUTOCONF-autoconf} --force" \
"${AUTOHEADER-autoheader} --force" \
- "$automake"
+ "${AUTOMAKE-automake} --add-missing --copy --force-missing"
do
if test "$command" = libtool; then
use_libtool=0
diff --git a/configure.ac b/configure.ac
index 71f29e9d1..8d9bcafe6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ AC_CONFIG_SRCDIR([src/ls.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
-AM_INIT_AUTOMAKE([1.10a dist-xz color-tests parallel-tests])
+AM_INIT_AUTOMAKE([1.10b dist-xz color-tests parallel-tests silent-rules])
AC_PROG_CC_STDC
AM_PROG_CC_C_O