diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-04-02 09:11:44 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-04-02 09:11:44 (GMT) |
commit | 0d13deb0e44afb80ec0a35e827548d891d48f6b6 (patch) | |
tree | 7723807c1c17109104f6ebf3fea141e87a50ba46 /configure.in | |
parent | 63897a417917907099b72f4e679890355a7a78a0 (diff) | |
download | monitoring-plugins-0d13deb0e44afb80ec0a35e827548d891d48f6b6.tar.gz |
- Add --enable-extra-opts configure option for compiling extra-opts support
- Auto-update po/pot files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1973 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.in b/configure.in index d0bd0ef..418b597 100644 --- a/configure.in +++ b/configure.in | |||
@@ -160,6 +160,19 @@ AC_CHECK_LIB(tap, plan_tests, | |||
160 | AC_SUBST(EXTRA_TEST) | 160 | AC_SUBST(EXTRA_TEST) |
161 | ) | 161 | ) |
162 | 162 | ||
163 | dnl INI Parsing | ||
164 | AC_ARG_ENABLE(extra-opts, | ||
165 | AC_HELP_STRING([--enable-extra-opts], | ||
166 | [Enables parsing of plugins ini config files for extra options (default: no)]), | ||
167 | [enable_extra_opts=$enableval], | ||
168 | [enable_extra_opts=no]) | ||
169 | AM_CONDITIONAL([USE_PARSE_INI],[test "$enable_extra_opts" = "yes"]) | ||
170 | if test "$enable_extra_opts" = "yes" ; then | ||
171 | EXTRA_TEST="$EXTRA_TEST test_ini test_opts" | ||
172 | AC_SUBST(EXTRA_TEST) | ||
173 | AC_DEFINE(NP_EXTRA_OPTS,[1],[Enable INI file parsing.]) | ||
174 | fi | ||
175 | |||
163 | dnl Check for PostgreSQL libraries | 176 | dnl Check for PostgreSQL libraries |
164 | _SAVEDLIBS="$LIBS" | 177 | _SAVEDLIBS="$LIBS" |
165 | _SAVEDCPPFLAGS="$CPPFLAGS" | 178 | _SAVEDCPPFLAGS="$CPPFLAGS" |
@@ -1621,6 +1634,7 @@ ACX_FEATURE([with],[ipv6]) | |||
1621 | ACX_FEATURE([with],[mysql]) | 1634 | ACX_FEATURE([with],[mysql]) |
1622 | ACX_FEATURE([with],[openssl]) | 1635 | ACX_FEATURE([with],[openssl]) |
1623 | ACX_FEATURE([with],[gnutls]) | 1636 | ACX_FEATURE([with],[gnutls]) |
1637 | ACX_FEATURE([enable],[extra-opts]) | ||
1624 | ACX_FEATURE([with],[perl]) | 1638 | ACX_FEATURE([with],[perl]) |
1625 | ACX_FEATURE([enable],[perl-modules]) | 1639 | ACX_FEATURE([enable],[perl-modules]) |
1626 | ACX_FEATURE([with],[cgiurl]) | 1640 | ACX_FEATURE([with],[cgiurl]) |