diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-14 19:54:04 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-14 20:04:44 -0400 |
commit | fbe8d1cf5b1b92e28be05b61edb3141261e02672 (patch) | |
tree | 36e47dc100be546e564d2d8bca41a157ae811ab0 /sim/configure | |
parent | 1ff18ee6520bab4a10b08e47f59de753fced9dfd (diff) | |
download | fsf-binutils-gdb-fbe8d1cf5b1b92e28be05b61edb3141261e02672.zip fsf-binutils-gdb-fbe8d1cf5b1b92e28be05b61edb3141261e02672.tar.gz fsf-binutils-gdb-fbe8d1cf5b1b92e28be05b61edb3141261e02672.tar.bz2 |
sim: enable silent rules in common builds
We only do the common code as automake simplifies the logic.
Diffstat (limited to 'sim/configure')
-rwxr-xr-x | sim/configure | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sim/configure b/sim/configure index 2d4204f..5bfbd60 100755 --- a/sim/configure +++ b/sim/configure @@ -6218,6 +6218,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='\' + # If a cpu ever has more than one simulator to choose from, use # --enable-sim=... to choose. |