]> err.no Git - util-linux/commitdiff
build-sys: enable silent rules if automake >= 1.11
authorGuillem Jover <guillem@hadrons.org>
Thu, 8 Oct 2009 11:40:09 +0000 (13:40 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 9 Oct 2009 12:57:51 +0000 (14:57 +0200)
Make the build silent if the system has a new enough automake,
otherwise keep the current behaviour.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
configure.ac

index 6784112875ee116edda163a78ab39c05598848a8..ed3c3b07cbab2b4487c50a59abfda8c00054dfb6 100644 (file)
@@ -7,6 +7,9 @@ AC_CONFIG_MACRO_DIR([m4])
 
 AM_INIT_AUTOMAKE([check-news -Wall foreign 1.9 dist-bzip2])
 
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
+                            [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
+
 AC_CONFIG_SRCDIR(mount/mount.c)
 
 AC_PREFIX_DEFAULT([/usr])