From a5e2167b3eeb84ed891d940e6c4c3b5e7b808bcf Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Sat, 21 Feb 2015 04:41:03 -0500 Subject: [svn-r26262] Restores maintainer mode to the configure.ac file but leaves it on by default (unlike the trunk and 1.8 branches, where it's disabled by default). Users can build with --disable-maintainer-mode to remove autotools build dependencies. Part of: HDFFV-9122 Tested on: 64-bit linux VM (configure and autogen only) --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configure.ac b/configure.ac index 8cce12c..77622c4 100644 --- a/configure.ac +++ b/configure.ac @@ -38,6 +38,19 @@ AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign]) AM_SILENT_RULES([yes]) +## AM_MAINTAINER_MODE turns off "rebuild rules" that contain dependencies +## for Makefiles, configure, src/H5config.h, etc. If AM_MAINTAINER_MODE +## is enabled, these files will be rebuilt if out of date. This is a +## problem because if users try to build on a machine with +## the wrong versions of autoconf and automake, these files will be +## rebuilt with the wrong versions and bad things can happen. +## Also, CVS doesn't preserve dependencies between timestamps, so +## Makefiles will often think rebuilding needs to occur when it doesn't. +## +## By default, it is enabled. Users can configure with +## --disable-maintainer-mode to prevent running the autotools. +AM_MAINTAINER_MODE([enable]) + ## ---------------------------------------------------------------------- ## Set prefix default (install directory) to a directory in the build area. ## This allows multiple src-dir builds within one host. -- cgit v0.12