summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-02-21 15:19:22 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-02-21 15:19:22 (GMT)
commit19c493e54c27a51d7a5372ff4b4cb4fa5ad74733 (patch)
tree728040b336d525f3737ddded93aaf0051c1fad85
parentacca8c0a7174c4a348e9e05c20dc26f57afe8b27 (diff)
downloadmonitoring-plugins-19c493e.tar.gz
configure.ac: Support --disable-maintainer-mode
This | allows you to choose whether the so called "rebuild rules" should be | enabled or disabled. With AM_MAINTAINER_MODE([enable]), they are | enabled by default, otherwise they are disabled by default. In the | latter case, if you have AM_MAINTAINER_MODE in configure.ac, and run | `./configure && make', then make will *never* attempt to rebuild | configure, Makefile.ins, Lex or Yacc outputs, etc. I.e., this | disables build rules for files that are usually distributed and that | users should normally not have to update. | | The user can override the default setting by passing either | `--enable-maintainer-mode' or `--disable-maintainer-mode' to | configure. | | People use AM_MAINTAINER_MODE either because they do not want their | users (or themselves) annoyed by timestamps lossage (see CVS), or | because they simply can't stand the rebuild rules and prefer running | maintainer tools explicitly. [ https://www.gnu.org/software/automake/manual/automake.html ]
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 401bc63..773eb2e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,7 @@ AC_CONFIG_FILES([gl/Makefile
6 monitoring-plugins.spec]) 6 monitoring-plugins.spec])
7AC_CONFIG_AUX_DIR(build-aux) 7AC_CONFIG_AUX_DIR(build-aux)
8AM_INIT_AUTOMAKE([1.8.3]) 8AM_INIT_AUTOMAKE([1.8.3])
9AM_MAINTAINER_MODE([enable])
9AC_CONFIG_HEADERS([config.h]) 10AC_CONFIG_HEADERS([config.h])
10AC_CANONICAL_HOST 11AC_CANONICAL_HOST
11 12