summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-23 08:42:26 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-23 08:42:26 (GMT)
commit49ae05ff1ce79a1b76e05128b85dbb1e944099ea (patch)
treea5c3760fc79853acc3bd420ff183d98895faa25f
parent0fbee4deb25c1c69e689c0179de6d6c38c9076c7 (diff)
downloadmonitoring-plugins-49ae05ff1ce79a1b76e05128b85dbb1e944099ea.tar.gz
Enable extra-opts by default
-rw-r--r--NEWS1
-rw-r--r--configure.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 23f1fa7..218cb53 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ This file documents the major additions and syntax changes between releases.
31.6 ... 31.6 ...
4 ENHANCEMENTS 4 ENHANCEMENTS
5 check_ide_smart now defaults to plugin output, original output appended with -v 5 check_ide_smart now defaults to plugin output, original output appended with -v
6 Extra-Opts are now enabled by default
6 7
7 FIXES 8 FIXES
8 Don't let e.g. check_http's -C option reset SSL version if e.g. -S 1 -C 5 is specified 9 Don't let e.g. check_http's -C option reset SSL version if e.g. -S 1 -C 5 is specified
diff --git a/configure.in b/configure.in
index 686a590..401bc63 100644
--- a/configure.in
+++ b/configure.in
@@ -192,7 +192,7 @@ AC_ARG_ENABLE(extra-opts,
192 AC_HELP_STRING([--enable-extra-opts], 192 AC_HELP_STRING([--enable-extra-opts],
193 [Enables parsing of plugins ini config files for extra options (default: no)]), 193 [Enables parsing of plugins ini config files for extra options (default: no)]),
194 [enable_extra_opts=$enableval], 194 [enable_extra_opts=$enableval],
195 [enable_extra_opts=no]) 195 [enable_extra_opts=yes])
196AM_CONDITIONAL([USE_PARSE_INI],[test "$enable_extra_opts" = "yes"]) 196AM_CONDITIONAL([USE_PARSE_INI],[test "$enable_extra_opts" = "yes"])
197if test "$enable_extra_opts" = "yes" ; then 197if test "$enable_extra_opts" = "yes" ; then
198 AC_DEFINE(NP_EXTRA_OPTS,[1],[Enable INI file parsing.]) 198 AC_DEFINE(NP_EXTRA_OPTS,[1],[Enable INI file parsing.])