From: Mike Frysinger Date: Fri, 26 Nov 2021 04:25:53 +0000 (-0500) Subject: gold: enable silent build rules X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=360ef3b94a9120729ae36f1ca9e7e1935d5788eb;p=binutils-gdb.git gold: enable silent build rules --- diff --git a/gold/configure b/gold/configure index b9f062b68eb..5f5b8c3602b 100755 --- a/gold/configure +++ b/gold/configure @@ -3405,6 +3405,45 @@ END fi fi +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=0;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + ac_config_headers="$ac_config_headers config.h:config.in" diff --git a/gold/configure.ac b/gold/configure.ac index 1716a779416..042b9f06437 100644 --- a/gold/configure.ac +++ b/gold/configure.ac @@ -23,6 +23,7 @@ AC_CONFIG_SRCDIR(gold.cc) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([no-dist parallel-tests]) +AM_SILENT_RULES([yes]) AM_CONFIG_HEADER(config.h:config.in)