aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac21
1 files changed, 14 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 001f145..086b9f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,16 +1,18 @@
1AC_INIT 1
2AC_INIT(mod_gnutls, 0.1.0)
2OOO_CONFIG_NICE(config.nice) 3OOO_CONFIG_NICE(config.nice)
4AC_PREREQ(2.53)
3AC_CONFIG_SRCDIR([src/mod_gnutls.c]) 5AC_CONFIG_SRCDIR([src/mod_gnutls.c])
6AC_CONFIG_AUX_DIR(config)
4AM_MAINTAINER_MODE 7AM_MAINTAINER_MODE
5AC_CANONICAL_TARGET 8AC_CANONICAL_TARGET
6AM_INIT_AUTOMAKE(mod_gnutls, 0.1.0) 9AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
7AM_CONFIG_HEADER([include/mod_gnutls_config.h:config.in]) 10AM_CONFIG_HEADER(include/mod_gnutls_config.h:config.in)
8 11
9 12
10AC_PROG_CC 13AC_PROG_CC
11AC_PROG_LD 14AC_PROG_LD
12AC_PROG_INSTALL 15AC_PROG_INSTALL
13AM_PROG_LIBTOOL
14 16
15 17
16AP_VERSION=2.0.40 18AP_VERSION=2.0.40
@@ -19,10 +21,15 @@ CHECK_APACHE(,$AP_VERSION,
19 AC_MSG_ERROR([*** Apache version $AP_VERSION not found!]) 21 AC_MSG_ERROR([*** Apache version $AP_VERSION not found!])
20) 22)
21 23
22MIN_TLS_VERSION=1.1.0 24LIBTOOL="`${APR_CONFIG} --apr-libtool`"
25AC_SUBST(LIBTOOL)
26
27MIN_TLS_VERSION=1.2.0
23CHECK_LIBGNUTLS($MIN_TLS_VERSION) 28CHECK_LIBGNUTLS($MIN_TLS_VERSION)
24 29
25CHECK_APR_MEMCACHE() 30have_apr_memcache=0
31CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0])
32AC_SUBST(have_apr_memcache)
26 33
27MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" 34MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
28MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}" 35MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}"
@@ -30,7 +37,7 @@ MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}"
30AC_SUBST(MODULE_CFLAGS) 37AC_SUBST(MODULE_CFLAGS)
31AC_SUBST(MODULE_LIBS) 38AC_SUBST(MODULE_LIBS)
32 39
33AC_CONFIG_FILES([Makefile src/Makefile]) 40AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h])
34AC_OUTPUT 41AC_OUTPUT
35 42
36echo "---" 43echo "---"