diff options
author | Nokis Mavrogiannopoulos | 2008-02-20 18:50:41 +0000 |
---|---|---|
committer | Nokis Mavrogiannopoulos | 2008-02-20 18:50:41 +0000 |
commit | 9a2ed619f22489dc9976851b774ec294c302a603 (patch) | |
tree | 928d7bc1a0141b95828e62e29aacf4aebab338c8 /configure.ac | |
parent | 56dd14991416e369ad7657add7e61495d18ae6b2 (diff) |
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index c401940..0cdcdd9 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,5 +1,5 @@ | |||
1 | dnl | 1 | dnl |
2 | AC_INIT(mod_gnutls, 0.4.1) | 2 | AC_INIT(mod_gnutls, 0.5.0-alpha) |
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) |
@@ -28,8 +28,14 @@ CHECK_APACHE(,$AP_VERSION, | |||
28 | dnl LIBTOOL="`${APR_CONFIG} --apr-libtool`" | 28 | dnl LIBTOOL="`${APR_CONFIG} --apr-libtool`" |
29 | dnl AC_SUBST(LIBTOOL) | 29 | dnl AC_SUBST(LIBTOOL) |
30 | 30 | ||
31 | MIN_TLS_VERSION=2.1.7 | 31 | MIN_TLS_VERSION=2.2.1 |
32 | CHECK_LIBGNUTLS($MIN_TLS_VERSION) | 32 | AM_PATH_LIBGNUTLS_EXTRA($MIN_TLS_VERSION,, |
33 | AC_MSG_ERROR([[ | ||
34 | *** | ||
35 | *** libgnutls and libgnutls-extra were not found. You may want to get it from | ||
36 | *** http://www.gnutls.org/ | ||
37 | *** | ||
38 | ]])) | ||
33 | 39 | ||
34 | dnl CHECK_LUA() | 40 | dnl CHECK_LUA() |
35 | 41 | ||
@@ -37,13 +43,13 @@ have_apr_memcache=0 | |||
37 | CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0]) | 43 | CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0]) |
38 | AC_SUBST(have_apr_memcache) | 44 | AC_SUBST(have_apr_memcache) |
39 | 45 | ||
40 | MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" | 46 | MODULE_CFLAGS="${LIBGNUTLS_EXTRA_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" |
41 | MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}" | 47 | MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_EXTRA_LIBS}" |
42 | 48 | ||
43 | AC_SUBST(MODULE_CFLAGS) | 49 | AC_SUBST(MODULE_CFLAGS) |
44 | AC_SUBST(MODULE_LIBS) | 50 | AC_SUBST(MODULE_LIBS) |
45 | 51 | ||
46 | AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h data/Makefile]) | 52 | AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h]) |
47 | AC_OUTPUT | 53 | AC_OUTPUT |
48 | 54 | ||
49 | echo "---" | 55 | echo "---" |