[buildd-tools-devel] [PATCH] build: Only use silent-rules if it's available

Geoffrey Thomas geofft at MIT.EDU
Sat Nov 21 01:32:01 UTC 2009


From: Geoffrey Thomas <geofft at mit.edu>

This permits compiling with an older automake.

Signed-off-by: Geoffrey Thomas <geofft at mit.edu>
---
 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index bca385e..e8f7313 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,7 +92,8 @@ AC_SUBST([SBUILD_INTERFACE_AGE])
 AC_SUBST([SBUILD_BINARY_AGE])
 
 dnl Initialise automake stuff.
-AM_INIT_AUTOMAKE([1.10 gnu check-news dist-bzip2 no-dist-gzip tar-pax silent-rules])
+AM_INIT_AUTOMAKE([1.10 gnu check-news dist-bzip2 no-dist-gzip tar-pax])
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 AM_MAINTAINER_MODE
 RELEASE_DATE='sbuild_m4_esyscmd_s(date --date='sbuild_m4_esyscmd_s([sed -ne '/^Release-Date:/{s/Release-Date:[[:space:]][[:space:]]*//p;q}' VERSION])' '+%s')'
 RELEASE_DATE_S='sbuild_m4_esyscmd_s([sed -ne '/^Release-Date:/{s/Release-Date:[[:space:]][[:space:]]*//p;q}' VERSION])'
-- 
1.6.3.3




More information about the Buildd-tools-devel mailing list