blob: 483540f3e38964650b6f48452ad2e32d7263fec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
AC_INIT
OOO_CONFIG_NICE(config.nice)
AC_CONFIG_SRCDIR([src/mod_gnutls.c])
AM_MAINTAINER_MODE
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(mod_gnutls, 0.1.0)
AM_CONFIG_HEADER([include/mod_gnutls_config.h:config.in])
AC_PROG_CC
AC_PROG_LD
AC_PROG_INSTALL
AM_PROG_LIBTOOL
AP_VERSION=2.0.40
CHECK_APACHE(,$AP_VERSION,
:,:,
AC_MSG_ERROR([*** Apache version $AP_VERSION not found!])
)
MIN_TLS_VERSION=1.1.0
CHECK_LIBGNUTLS($MIN_TLS_VERSION)
CHECK_MEMCACHE
MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
MODULE_LIBS="${LIBGNUTLS_LIBS} ${LIBMEMCACHE_LIBS}"
AC_SUBST(MODULE_CFLAGS)
AC_SUBST(MODULE_LIBS)
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT
echo "---"
echo "Configuration summary for mod_gnutls"
echo ""
echo " * Apache Modules directory: ${AP_LIBEXECDIR}"
echo " * GnuTLS Library Version: ${LIBGNUTLS_VERSION}"
echo ""
echo "---"
|