diff mbox

[3/4] configure.ac: enable silent build rules by default if available

Message ID 1465335438-17503-4-git-send-email-ao2@ao2.it
State Not Applicable
Headers show

Commit Message

Antonio Ospite June 7, 2016, 9:37 p.m. UTC
Signed-off-by: Antonio Ospite <ao2@ao2.it>
---
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Stewart Smith July 12, 2016, 8:32 a.m. UTC | #1
Antonio Ospite <ao2@ao2.it> writes:
> Signed-off-by: Antonio Ospite <ao2@ao2.it>
> ---
>  configure.ac | 5 +++++
>  1 file changed, 5 insertions(+)

Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com>
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 78dcf83..7418e02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,6 +37,11 @@  AC_SUBST(LIB_VERSION)
 
 AM_CONFIG_HEADER(twin_def.h)
 
+# use pretty build output with automake >= 1.11
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],
+	[AM_DEFAULT_VERBOSITY=1
+	AC_SUBST(AM_DEFAULT_VERBOSITY)])
+
 # Check for progs
 AC_PROG_CC
 AC_PROG_LIBTOOL