[binutils-gdb] zlib: enable silent build rules
Michael Frysinger
vapier@sourceware.org
Tue Nov 30 01:30:58 GMT 2021
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ae8e528122be3e0344b2ee533b4b050389e8dcad
commit ae8e528122be3e0344b2ee533b4b050389e8dcad
Author: Mike Frysinger <vapier@gentoo.org>
Date: Thu Nov 25 23:43:28 2021 -0500
zlib: enable silent build rules
Diff:
---
zlib/configure | 43 +++++++++++++++++++++++++++++++++++++++++--
zlib/configure.ac | 1 +
2 files changed, 42 insertions(+), 2 deletions(-)
diff --git a/zlib/configure b/zlib/configure
index 0e7504e1a8b..db7845c5d42 100755
--- a/zlib/configure
+++ b/zlib/configure
@@ -2993,6 +2993,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
@@ -10666,7 +10705,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10669 "configure"
+#line 10708 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10772,7 +10811,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10775 "configure"
+#line 10814 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/zlib/configure.ac b/zlib/configure.ac
index e9ebd64f2e7..ec73c219228 100644
--- a/zlib/configure.ac
+++ b/zlib/configure.ac
@@ -14,6 +14,7 @@ mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
AC_SUBST(mkinstalldirs)
AM_INIT_AUTOMAKE
+AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE
More information about the Binutils-cvs
mailing list