aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac17
1 files changed, 8 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 0cc92c4..0d1ae58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,22 +13,20 @@ AC_PROG_INSTALL
13AM_PROG_LIBTOOL 13AM_PROG_LIBTOOL
14 14
15 15
16AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
17if test "x$PKG_CONFIG" = "xno"; then
18 AC_MSG_ERROR([You need to install pkg-config])
19fi
20
21PKG_PATH=
22
23AP_VERSION=2.0.40 16AP_VERSION=2.0.40
24CHECK_APACHE(,$AP_VERSION, 17CHECK_APACHE(,$AP_VERSION,
25 :,:, 18 :,:,
26 AC_MSG_ERROR([*** Apache version $AP_VERSION not found!]) 19 AC_MSG_ERROR([*** Apache version $AP_VERSION not found!])
27) 20)
28 21
29MODULE_CFLAGS="${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" 22MIN_TLS_VERSION=1.1.0
23CHECK_LIBGNUTLS($MIN_TLS_VERSION)
24
25MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
26MODULE_LIBS="${LIBGNUTLS_LIBS}"
30 27
31AC_SUBST(MODULE_CFLAGS) 28AC_SUBST(MODULE_CFLAGS)
29AC_SUBST(MODULE_LIBS)
32 30
33AC_CONFIG_FILES([Makefile src/Makefile]) 31AC_CONFIG_FILES([Makefile src/Makefile])
34AC_OUTPUT 32AC_OUTPUT
@@ -36,6 +34,7 @@ AC_OUTPUT
36echo "---" 34echo "---"
37echo "Configuration summary for mod_gnutls" 35echo "Configuration summary for mod_gnutls"
38echo "" 36echo ""
39echo " * Apache modules directory = ${AP_LIBEXECDIR}" 37echo " * Apache Modules directory: ${AP_LIBEXECDIR}"
38echo " * GnuTLS Library Version: ${LIBGNUTLS_VERSION}"
40echo "" 39echo ""
41echo "---" 40echo "---"