libctf: enable silent build rules
authorMike Frysinger <vapier@gentoo.org>
Fri, 26 Nov 2021 04:36:57 +0000 (23:36 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 30 Nov 2021 01:28:29 +0000 (20:28 -0500)
Also add $(AM_V_xxx) to various manual rules in here.

libctf/Makefile.am
libctf/configure
libctf/configure.ac

index f1dda92a61187df368276021168fd8f5ea0ff51b..3d757e4438187e89f729292fc19f8788df183e8d 100644 (file)
@@ -102,7 +102,7 @@ check-DEJAGNU: site.exp development.exp
        fi
 
 development.exp: $(BFDDIR)/development.sh
-       $(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh  \
+       $(AM_V_GEN)$(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh  \
          | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@
 
 # development.sh is used to determine -Werror default.
index c683b012ad283562fa631573875df5662d8f7264..50f5cc5a3416f76723298cdb3b8dc122b5792866 100755 (executable)
@@ -4527,6 +4527,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='\'
+
 
 # Checks for programs.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
@@ -11590,7 +11629,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11593 "configure"
+#line 11632 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11696,7 +11735,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11699 "configure"
+#line 11738 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index dc06d27bf3ccff95c82196492f643abde9983ac6..a5d6585521a30dd76c93ba3690c0499ed1ecf827 100644 (file)
@@ -29,6 +29,7 @@ AC_CANONICAL_HOST
 AC_CANONICAL_TARGET
 AC_USE_SYSTEM_EXTENSIONS
 AM_INIT_AUTOMAKE
+AM_SILENT_RULES([yes])
 
 # Checks for programs.
 AC_PROG_MAKE_SET