From 360ef3b94a9120729ae36f1ca9e7e1935d5788eb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 25 Nov 2021 23:25:53 -0500 Subject: gold: enable silent build rules --- gold/configure | 39 +++++++++++++++++++++++++++++++++++++++ gold/configure.ac | 1 + 2 files changed, 40 insertions(+) diff --git a/gold/configure b/gold/configure index b9f062b..5f5b8c3 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 1716a77..042b9f0 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) -- cgit v1.1