]> git.alsa-project.org Git - alsa-lib.git/commitdiff
configure.in: Add m4 check for new AM_SILENT_RULES
authorStefan Schmidt <stefan@slimlogic.co.uk>
Tue, 29 Sep 2009 21:48:20 +0000 (23:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 30 Sep 2009 06:21:42 +0000 (08:21 +0200)
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@slimlogic.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
configure.in

index 3cd6366b962f37389d55bba2a54fd7ff4ca88631..a455de1cdb88b84b0a6e9b73846f2b2f64c49722 100644 (file)
@@ -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.