public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] libctf: enable silent build rules
@ 2021-11-26  4:37 Mike Frysinger
  2021-11-29 13:32 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2021-11-26  4:37 UTC (permalink / raw)
  To: binutils

Also add $(AM_V_xxx) to various manual rules in here.
---
 libctf/Makefile.am  |  2 +-
 libctf/configure    | 43 +++++++++++++++++++++++++++++++++++++++++--
 libctf/configure.ac |  1 +
 3 files changed, 43 insertions(+), 3 deletions(-)

diff --git a/libctf/Makefile.am b/libctf/Makefile.am
index f1dda92a6118..3d757e443818 100644
--- a/libctf/Makefile.am
+++ b/libctf/Makefile.am
@@ -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.
diff --git a/libctf/configure b/libctf/configure
index c683b012ad28..50f5cc5a3416 100755
--- a/libctf/configure
+++ b/libctf/configure
@@ -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
diff --git a/libctf/configure.ac b/libctf/configure.ac
index dc06d27bf3cc..a5d6585521a3 100644
--- a/libctf/configure.ac
+++ b/libctf/configure.ac
@@ -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
-- 
2.33.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] libctf: enable silent build rules
  2021-11-26  4:37 [PATCH] libctf: enable silent build rules Mike Frysinger
@ 2021-11-29 13:32 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2021-11-29 13:32 UTC (permalink / raw)
  To: Mike Frysinger, binutils

On 11/26/21 04:37, Mike Frysinger via Binutils wrote:
> Also add $(AM_V_xxx) to various manual rules in here.
> ---
>   libctf/Makefile.am  |  2 +-
>   libctf/configure    | 43 +++++++++++++++++++++++++++++++++++++++++--
>   libctf/configure.ac |  1 +
>   3 files changed, 43 insertions(+), 3 deletions(-)

Approved - please apply.

Cheers
   Nick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-29 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-26  4:37 [PATCH] libctf: enable silent build rules Mike Frysinger
2021-11-29 13:32 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).