shithub: opus-tools

Download patch

ref: d71e574b3684091b070c3d53a1e67f9fde976c76
parent: 97a5c5faf362727051b1c5eeb683fbc69893179c
author: Ralph Giles <giles@mozilla.com>
date: Wed Nov 14 07:51:21 EST 2012

Enable maintainer mode by default on automake 1.11

Passing 'enable' as an argument to AM_MAINTAINER_MODE flips the
default to enabled, rather than disabled until automake 1.11.
This is a safer default for a developer-oriented library.

./configure --disable-maintainer-mode is still available for
packagers who what to preserve the upstream build distribution.

On earlier automake versions, the argument appears to have no
effect, so there is no behaviour change for developers using
older autotools.

Based on a patch for opusfile by ron@debian.org.

--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,7 @@
 PACKAGE=opus-tools
 
 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
-AM_MAINTAINER_MODE
+AM_MAINTAINER_MODE([enable])
 
 AC_CANONICAL_HOST
 AM_PROG_CC_C_O