From 22c26835649ee1ba0c16cab63b12dcc5cca3581f Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Tue, 9 Aug 2011 18:48:59 +0200
Status: applied
Subject: [PATCH 3/3] configure: enable silent build by default if supported
 by automake
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This helps spotting compiler warnings, and can be easily disabled by
using --disable-slent-rules on configure, or with «make V=1».

The m4 macro is used conditionally because automake only introduced
support for it in 1.11.
---
 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 59dedd9..24e704b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,9 @@ AC_CONFIG_AUX_DIR([build-aux])
 
 AM_INIT_AUTOMAKE([gnu check-news subdir-objects 1.10])
 
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
+                            [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
+
 AC_PREFIX_DEFAULT([])
 
 
-- 
1.7.5.4

