From 39bc380c129ca36fbc94e41707d58b138b00876e Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Mon, 15 Oct 2018 09:03:25 +0530 Subject: [PATCH] build-sys: Add the ability to disable maintainer mode This allows us to disable automatically updating build system files in case things change. This is desirable in the common case, but not necessarily for CI, where we want the ability to take a build directory as an artifact from one stage to the next (i.e. into a fresh checkout). --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 2512d3c95..c45254e80 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,8 @@ AC_CONFIG_HEADERS([config.h]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability subdir-objects silent-rules color-tests dist-xz tar-ustar]) +AM_MAINTAINER_MODE([enable]) + AS_IF([! test -n "$VERSION"], [ AC_MSG_ERROR([git-version-gen failed]) ])