diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-11-25 23:25:53 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-11-30 19:41:31 -0500 |
commit | 360ef3b94a9120729ae36f1ca9e7e1935d5788eb (patch) | |
tree | b06690593122122df23c3f72d4e999431a4927b2 /gold | |
parent | b70f818d7d152f315f5759d6219bc51c0c2f93a7 (diff) | |
download | gdb-360ef3b94a9120729ae36f1ca9e7e1935d5788eb.zip gdb-360ef3b94a9120729ae36f1ca9e7e1935d5788eb.tar.gz gdb-360ef3b94a9120729ae36f1ca9e7e1935d5788eb.tar.bz2 |
gold: enable silent build rules
Diffstat (limited to 'gold')
-rwxr-xr-x | gold/configure | 39 | ||||
-rw-r--r-- | gold/configure.ac | 1 |
2 files changed, 40 insertions, 0 deletions
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) |