diff options
author | Jim Meyering <meyering@redhat.com> | 2009-03-28 12:48:24 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-03-28 13:46:02 +0100 |
commit | 9f39fa8559a8f87e1199f11f6cee295ac8cf6781 (patch) | |
tree | 500d1f20165c1b5ea1b36444dc8ac20b545edf04 | |
parent | 00f84872e4ca703990131207b13af27548c9be57 (diff) | |
download | coreutils-9f39fa8559a8f87e1199f11f6cee295ac8cf6781.tar.xz |
build: use automake's --silent-rules option when possible
* bootstrap: Use automake's --silent-rules option.
-rwxr-xr-x | bootstrap | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -686,6 +686,12 @@ 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 \ @@ -693,7 +699,7 @@ for command in \ "${ACLOCAL-aclocal} --force -I m4" \ "${AUTOCONF-autoconf} --force" \ "${AUTOHEADER-autoheader} --force" \ - "${AUTOMAKE-automake} --add-missing --copy --force-missing" + "$automake" do if test "$command" = libtool; then use_libtool=0 |