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

Antonio Ospite ao2 at ao2.it
Wed Jun 8 07:37:17 AEST 2016


Signed-off-by: Antonio Ospite <ao2 at ao2.it>
---
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

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
-- 
2.8.1



More information about the Petitboot mailing list