Add AM_MAINTAINER_MODE macro to configure.ac and enable it by default

AM_MAINTAINER_MODE macro adds ability to disable rebuilding build file
(Makefile.in, configure, ...) when the source file changes.  This is
important in the CI where the timestamps could get skewed and that
triggers the rebuild on every ./configure run.
This commit is contained in:
Ondřej Surý
2019-06-19 14:26:49 +02:00
parent bc235cf477
commit 2b1131cb28
3 changed files with 129 additions and 0 deletions

View File

@@ -10,6 +10,11 @@
AC_INIT(BIND, [9.15], [info@isc.org], [], [https://www.isc.org/downloads/BIND/])
AC_PREREQ([2.60])
#
# Enable maintainer mode by default, but allow to disable it in the CI
#
AM_MAINTAINER_MODE([enable])
AC_CONFIG_HEADER(config.h)
AC_CONFIG_MACRO_DIR([m4])