diff options
author | Nikos Mavrogiannopoulos | 2008-03-03 14:04:01 +0000 |
---|---|---|
committer | Nokis Mavrogiannopoulos | 2008-03-03 14:04:01 +0000 |
commit | b072204b806ae3517722df030a646d97590d14d2 (patch) | |
tree | 6a32b9c486e92bd3cbaefea3f248ef325e972177 /configure.ac | |
parent | b333517db71948b405680646c72c71635fa15181 (diff) |
corrected SRP enable flag, and corrected the DBM hook support. It now free data needed by some DBM providers.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 28001b3..62db2af 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -41,8 +41,10 @@ AC_ARG_ENABLE(srp, | |||
41 | AS_HELP_STRING([--disable-srp], | 41 | AS_HELP_STRING([--disable-srp], |
42 | [unconditionally disable the SRP functionality]), | 42 | [unconditionally disable the SRP functionality]), |
43 | use_srp=$enableval, use_srp=yes) | 43 | use_srp=$enableval, use_srp=yes) |
44 | |||
45 | SRP_CFLAGS="" | ||
44 | if test "$use_srp" != "no"; then | 46 | if test "$use_srp" != "no"; then |
45 | AC_DEFINE_UNQUOTED(ENABLE_SRP, 1, [whether to enable SRP]) | 47 | SRP_CFLAGS="-DENABLE_SRP=1" |
46 | fi | 48 | fi |
47 | AC_MSG_CHECKING([whether to enable SRP functionality]) | 49 | AC_MSG_CHECKING([whether to enable SRP functionality]) |
48 | AC_MSG_RESULT($use_srp) | 50 | AC_MSG_RESULT($use_srp) |
@@ -53,7 +55,7 @@ have_apr_memcache=0 | |||
53 | CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0]) | 55 | CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0]) |
54 | AC_SUBST(have_apr_memcache) | 56 | AC_SUBST(have_apr_memcache) |
55 | 57 | ||
56 | MODULE_CFLAGS="${LIBGNUTLS_EXTRA_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" | 58 | MODULE_CFLAGS="${LIBGNUTLS_EXTRA_CFLAGS} ${SRP_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" |
57 | MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_EXTRA_LIBS}" | 59 | MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_EXTRA_LIBS}" |
58 | 60 | ||
59 | AC_SUBST(MODULE_CFLAGS) | 61 | AC_SUBST(MODULE_CFLAGS) |
@@ -68,5 +70,6 @@ echo "" | |||
68 | echo " * mod_gnutls version: ${MOD_GNUTLS_VERSION}" | 70 | echo " * mod_gnutls version: ${MOD_GNUTLS_VERSION}" |
69 | echo " * Apache Modules directory: ${AP_LIBEXECDIR}" | 71 | echo " * Apache Modules directory: ${AP_LIBEXECDIR}" |
70 | echo " * GnuTLS Library version: ${LIBGNUTLS_VERSION}" | 72 | echo " * GnuTLS Library version: ${LIBGNUTLS_VERSION}" |
73 | echo " * SRP Authentication: ${use_srp}" | ||
71 | echo "" | 74 | echo "" |
72 | echo "---" | 75 | echo "---" |