From: Ondřej Surý Date: Mon, 22 Jun 2020 12:26:07 +0000 (+0200) Subject: Enable maintainer mode by default only when building from git X-Git-Tag: v9.17.3~44^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ff77bb6760cf681c016a26329a34f61a0656c9b;p=thirdparty%2Fbind9.git Enable maintainer mode by default only when building from git When maintainer mode is enabled (./configure --enable-maintainer-mode) it enables rebuild of documentation source files that require extra tools to be installed or compiled. For a convenience, those files are already committed into the repository and their rebuild is not required to build BIND 9 from sources. --- diff --git a/configure.ac b/configure.ac index f705ce419a0..36add64a7e5 100644 --- a/configure.ac +++ b/configure.ac @@ -64,9 +64,9 @@ AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) # -# Enable maintainer mode by default, but allow to disable it in the CI +# Enable maintainer mode by default only when building from git repository # -AM_MAINTAINER_MODE([enable]) +AM_MAINTAINER_MODE([m4_ifset([bind_SRCID],[enable],[disable])]) # Set the library versions # https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html