diff options
author | Nokis Mavrogiannopoulos | 2008-02-20 19:50:09 +0000 |
---|---|---|
committer | Nokis Mavrogiannopoulos | 2008-02-20 19:50:09 +0000 |
commit | 4b0ef132badc7c0feb0b064c9162d7244d6da655 (patch) | |
tree | e1fb01b994eba94e6d357fddffb1459d9fddd018 /configure.ac | |
parent | 2f673dc2f0bb6f1db25f62b382c89a4ead867ac3 (diff) |
added option to disable srp (for distributions that disable it in gnutls)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0cdcdd9..28001b3 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,5 +1,5 @@ | |||
1 | dnl | 1 | dnl |
2 | AC_INIT(mod_gnutls, 0.5.0-alpha) | 2 | AC_INIT(mod_gnutls, 0.5.1) |
3 | OOO_CONFIG_NICE(config.nice) | 3 | OOO_CONFIG_NICE(config.nice) |
4 | MOD_GNUTLS_VERSION=AC_PACKAGE_VERSION | 4 | MOD_GNUTLS_VERSION=AC_PACKAGE_VERSION |
5 | AC_PREREQ(2.53) | 5 | AC_PREREQ(2.53) |
@@ -37,6 +37,16 @@ AM_PATH_LIBGNUTLS_EXTRA($MIN_TLS_VERSION,, | |||
37 | *** | 37 | *** |
38 | ]])) | 38 | ]])) |
39 | 39 | ||
40 | AC_ARG_ENABLE(srp, | ||
41 | AS_HELP_STRING([--disable-srp], | ||
42 | [unconditionally disable the SRP functionality]), | ||
43 | use_srp=$enableval, use_srp=yes) | ||
44 | if test "$use_srp" != "no"; then | ||
45 | AC_DEFINE_UNQUOTED(ENABLE_SRP, 1, [whether to enable SRP]) | ||
46 | fi | ||
47 | AC_MSG_CHECKING([whether to enable SRP functionality]) | ||
48 | AC_MSG_RESULT($use_srp) | ||
49 | |||
40 | dnl CHECK_LUA() | 50 | dnl CHECK_LUA() |
41 | 51 | ||
42 | have_apr_memcache=0 | 52 | have_apr_memcache=0 |