From 7ff77bb6760cf681c016a26329a34f61a0656c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Mon, 22 Jun 2020 14:26:07 +0200 Subject: [PATCH] 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. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index f705ce419a..36add64a7e 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