diff options
author | Nokis Mavrogiannopoulos | 2008-02-20 18:50:41 +0000 |
---|---|---|
committer | Nokis Mavrogiannopoulos | 2008-02-20 18:50:41 +0000 |
commit | 586e3bef5d34d090d9480e146783c33313f9dc34 (patch) | |
tree | 928d7bc1a0141b95828e62e29aacf4aebab338c8 /configure.ac | |
parent | 8e33f2d4c149fe8b6d2f1f3bdb06c52da53952f1 (diff) |
added tags0.4.1
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index fb84c67..0cdcdd9 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,9 +1,11 @@ | |||
1 | AC_INIT(mod_gnutls, 0.2.0) | 1 | dnl |
2 | AC_INIT(mod_gnutls, 0.5.0-alpha) | ||
2 | OOO_CONFIG_NICE(config.nice) | 3 | OOO_CONFIG_NICE(config.nice) |
3 | MOD_GNUTLS_VERSION=AC_PACKAGE_VERSION | 4 | MOD_GNUTLS_VERSION=AC_PACKAGE_VERSION |
4 | AC_PREREQ(2.53) | 5 | AC_PREREQ(2.53) |
5 | AC_CONFIG_SRCDIR([src/mod_gnutls.c]) | 6 | AC_CONFIG_SRCDIR([src/mod_gnutls.c]) |
6 | AC_CONFIG_AUX_DIR(config) | 7 | AC_CONFIG_AUX_DIR(config) |
8 | |||
7 | OOO_MAINTAIN_MODE | 9 | OOO_MAINTAIN_MODE |
8 | AM_MAINTAINER_MODE | 10 | AM_MAINTAINER_MODE |
9 | AC_CANONICAL_TARGET | 11 | AC_CANONICAL_TARGET |
@@ -15,7 +17,7 @@ AC_SUBST(MOD_GNUTLS_VERSION) | |||
15 | AC_PROG_CC | 17 | AC_PROG_CC |
16 | AC_PROG_LD | 18 | AC_PROG_LD |
17 | AC_PROG_INSTALL | 19 | AC_PROG_INSTALL |
18 | 20 | AC_PROG_LIBTOOL | |
19 | 21 | ||
20 | AP_VERSION=2.0.40 | 22 | AP_VERSION=2.0.40 |
21 | CHECK_APACHE(,$AP_VERSION, | 23 | CHECK_APACHE(,$AP_VERSION, |
@@ -23,25 +25,31 @@ CHECK_APACHE(,$AP_VERSION, | |||
23 | AC_MSG_ERROR([*** Apache version $AP_VERSION not found!]) | 25 | AC_MSG_ERROR([*** Apache version $AP_VERSION not found!]) |
24 | ) | 26 | ) |
25 | 27 | ||
26 | LIBTOOL="`${APR_CONFIG} --apr-libtool`" | 28 | dnl LIBTOOL="`${APR_CONFIG} --apr-libtool`" |
27 | AC_SUBST(LIBTOOL) | 29 | dnl AC_SUBST(LIBTOOL) |
28 | 30 | ||
29 | MIN_TLS_VERSION=1.2.0 | 31 | MIN_TLS_VERSION=2.2.1 |
30 | 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 | ]])) | ||
31 | 39 | ||
32 | CHECK_LUA() | 40 | dnl CHECK_LUA() |
33 | 41 | ||
34 | have_apr_memcache=0 | 42 | have_apr_memcache=0 |
35 | CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0]) | 43 | CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0]) |
36 | AC_SUBST(have_apr_memcache) | 44 | AC_SUBST(have_apr_memcache) |
37 | 45 | ||
38 | 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}" |
39 | MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}" | 47 | MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_EXTRA_LIBS}" |
40 | 48 | ||
41 | AC_SUBST(MODULE_CFLAGS) | 49 | AC_SUBST(MODULE_CFLAGS) |
42 | AC_SUBST(MODULE_LIBS) | 50 | AC_SUBST(MODULE_LIBS) |
43 | 51 | ||
44 | AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h data/Makefile]) | 52 | AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h]) |
45 | AC_OUTPUT | 53 | AC_OUTPUT |
46 | 54 | ||
47 | echo "---" | 55 | echo "---" |