diff options
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]) |