diff options
author | Paul Querna | 2004-09-27 03:21:40 +0000 |
---|---|---|
committer | Paul Querna | 2004-09-27 03:21:40 +0000 |
commit | 16068f4173883029a5b0aac7540fedcfd9e81940 (patch) | |
tree | ab14c5bfbc45689d7025c194e089465faa9b5f9c /configure.ac | |
parent | 9706fc2bfa08fd50d0a754aa7ede8434cb004c8b (diff) |
libgnutls support
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 17 |
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 | |||
13 | AM_PROG_LIBTOOL | 13 | AM_PROG_LIBTOOL |
14 | 14 | ||
15 | 15 | ||
16 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) | ||
17 | if test "x$PKG_CONFIG" = "xno"; then | ||
18 | AC_MSG_ERROR([You need to install pkg-config]) | ||
19 | fi | ||
20 | |||
21 | PKG_PATH= | ||
22 | |||
23 | AP_VERSION=2.0.40 | 16 | AP_VERSION=2.0.40 |
24 | CHECK_APACHE(,$AP_VERSION, | 17 | CHECK_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 | ||
29 | MODULE_CFLAGS="${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" | 22 | MIN_TLS_VERSION=1.1.0 |
23 | CHECK_LIBGNUTLS($MIN_TLS_VERSION) | ||
24 | |||
25 | MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}" | ||
26 | MODULE_LIBS="${LIBGNUTLS_LIBS}" | ||
30 | 27 | ||
31 | AC_SUBST(MODULE_CFLAGS) | 28 | AC_SUBST(MODULE_CFLAGS) |
29 | AC_SUBST(MODULE_LIBS) | ||
32 | 30 | ||
33 | AC_CONFIG_FILES([Makefile src/Makefile]) | 31 | AC_CONFIG_FILES([Makefile src/Makefile]) |
34 | AC_OUTPUT | 32 | AC_OUTPUT |
@@ -36,6 +34,7 @@ AC_OUTPUT | |||
36 | echo "---" | 34 | echo "---" |
37 | echo "Configuration summary for mod_gnutls" | 35 | echo "Configuration summary for mod_gnutls" |
38 | echo "" | 36 | echo "" |
39 | echo " * Apache modules directory = ${AP_LIBEXECDIR}" | 37 | echo " * Apache Modules directory: ${AP_LIBEXECDIR}" |
38 | echo " * GnuTLS Library Version: ${LIBGNUTLS_VERSION}" | ||
40 | echo "" | 39 | echo "" |
41 | echo "---" | 40 | echo "---" |