libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libcdio-devel] Automake: enable silent rules


From: Pete Batard
Subject: [Libcdio-devel] Automake: enable silent rules
Date: Tue, 17 Jan 2012 12:52:31 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

Makes it easier to spot warnings... and want to do something about them.

If Automake v1.10 or earlier is used, this will simply be ignored, therefore this patch should be safe to apply.

Regards,

/Pete
>From f94a4b8f4fcf4eb6544610b77b7752ee157d1a91 Mon Sep 17 00:00:00 2001
From: Pete Batard <address@hidden>
Date: Tue, 17 Jan 2012 12:49:31 +0000
Subject: [PATCH] Automake: enable silent rules

---
 configure.ac |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index b2fba59..72ad07d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,11 @@ AC_CANONICAL_HOST
 AM_CONFIG_HEADER(config.h)
 AC_CONFIG_MACRO_DIR([m4])
 
+# Enable silent build rules by default (Automake v1.11 or later).
+# Disable by either passing --disable-silent-rules to configure or passing V=1 
to make
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
+         [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
+
 LIBCDIO_VERSION_NUM=`echo RELEASE_NUM | cut -d . -f 1 | tr -d a-z`
 AC_SUBST(LIBCDIO_VERSION_NUM)
 
-- 
1.7.8.msysgit.0


reply via email to

[Prev in Thread] Current Thread [Next in Thread]