[alsa-devel] [PATCH 2/3] configure.in: Add m4 check for new AM_SILENT_RULES

Stefan Schmidt stefan at datenfreihafen.org
Tue Sep 29 23:48:20 CEST 2009


From: Stefan Schmidt <stefan at slimlogic.co.uk>

Kbuild like output for automake (>=1.11). It's no hard dependency as it needs
the newest automake, but enable it by default if it is available. To turn it off
you can either use --disable-silent-rules at configure time or make V=0  at
compile time.

Signed-off-by: Stefan Schmidt <stefan at slimlogic.co.uk>
---
 configure.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.in b/configure.in
index 3cd6366..a455de1 100644
--- a/configure.in
+++ b/configure.in
@@ -17,6 +17,9 @@ eval LIBTOOL_VERSION_INFO="2:0:0"
 dnl *************************************************
 AM_CONDITIONAL(INSTALL_M4, test -n "${ACLOCAL}")
 
+# Test for new silent rules and enable only if they are available
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
 AC_PREFIX_DEFAULT(/usr)
 
 dnl Checks for programs.
-- 
1.6.4.3



More information about the Alsa-devel mailing list