aboutsummaryrefslogtreecommitdiff
path: root/ld/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-25 23:41:42 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-29 20:28:29 -0500
commit48b5f33ab1df5c78fcd51605340cdb6c146f594e (patch)
tree1fddf5d9c6e26c9ae45d1695e5e70f25a0edca64 /ld/configure
parentc7d1b270c20ced5f1e3265de898a5205badeb94a (diff)
downloadgdb-48b5f33ab1df5c78fcd51605340cdb6c146f594e.zip
gdb-48b5f33ab1df5c78fcd51605340cdb6c146f594e.tar.gz
gdb-48b5f33ab1df5c78fcd51605340cdb6c146f594e.tar.bz2
ld: enable silent build rules
Also add $(AM_V_xxx) to various manual rules in here.
Diffstat (limited to 'ld/configure')
-rwxr-xr-xld/configure43
1 files changed, 41 insertions, 2 deletions
diff --git a/ld/configure b/ld/configure
index a30f515..c4ba490 100755
--- a/ld/configure
+++ b/ld/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='\'
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
@@ -11413,7 +11452,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11416 "configure"
+#line 11455 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11519,7 +11558,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11522 "configure"
+#line 11561 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H