From: Jim Meyering Date: Tue, 31 Mar 2009 18:43:35 +0000 (+0200) Subject: build: set automake's silent-rules option via configure.ac X-Git-Tag: v7.3~67 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1417251e296226e34d25d8ca8c2b99d12c2c21f0;p=platform%2Fupstream%2Fcoreutils.git 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. --- diff --git a/bootstrap b/bootstrap index e834a2b..27e4ec2 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 71f29e9..8d9bcaf 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