ref: 5ccc1240362741f7f1816a3c6ef3a46173d530df
parent: bf79a080ea6b75f45e345cc52c8da0b23a7cd096
author: Ralph Giles <[email protected]>
date: Thu Jul 28 20:55:56 EDT 2011
Enable automake's "silent rules" if they are available. Automake version 1.11 and above provide a build mode where each build command is replaced by a single-line annotation. Since autotools build lines for libraries typically each fill an entire terminal screen, this mode makes it easier to keep track of build progress, and warnings stand out more clearly. For debugging the build process, the old behaviour can be recovered by running 'make V=1' at bulid time, or by passing --disable-silent-rules to configure. Since Automake 1.11 is still very recent, we only invoke the AM_SILENT_RULES macro if it is defined, allowing fallback to the old behaviour under previous versions of automake.
--- a/configure.ac
+++ b/configure.ac
@@ -4,6 +4,9 @@
AM_CONFIG_HEADER([config.h])
+dnl enable silent rules on automake 1.11 and later
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
OPUS_MAJOR_VERSION=0
OPUS_MINOR_VERSION=9
OPUS_MICRO_VERSION=5