summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-02-21 09:41:03 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-02-21 09:41:03 (GMT)
commita5e2167b3eeb84ed891d940e6c4c3b5e7b808bcf (patch)
tree9f6636f30a07c4a7e8f3f8a8ab2381158436e058
parentc52835f4c1db8d87c6e86f15294fb731972e6bb8 (diff)
downloadhdf5-a5e2167b3eeb84ed891d940e6c4c3b5e7b808bcf.zip
hdf5-a5e2167b3eeb84ed891d940e6c4c3b5e7b808bcf.tar.gz
hdf5-a5e2167b3eeb84ed891d940e6c4c3b5e7b808bcf.tar.bz2
[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)
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
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.