This allows seeing warnings more easily and can be disabled globally
either with `configure --disable-silent-rules' or on each build with
`make V=1', in case the full arguments to the commands is needed, like
in debugging situations.

* configure.ac (AM_SILENT_RULES): If available, enable the silent build
by default.
---
 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index ef9efe0..49bdb22 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,6 +116,9 @@ IU_ENABLE_CLIENT(traceroute)
 
 AM_INIT_AUTOMAKE
 
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
+                            [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
+
 AC_ISC_POSIX
 
 ### Checks for programs.
-- 
1.6.5.3



Reply via email to