[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)
This commit is contained in:
Dana Robinson 2015-02-21 04:41:03 -05:00
parent c52835f4c1
commit a5e2167b3e

View File

@ -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.