source: mod_gnutls/configure.ac @ 6e0bfd6

debian/masterdebian/stretch-backportsjessie-backportsmsvaupstream
Last change on this file since 6e0bfd6 was 6e0bfd6, checked in by Paul Querna <chip@…>, 15 years ago
  • make memcahe optional
  • update for 2.1.x branch changes.
  • some mucking around with the conf stuff
  • Property mode set to 100644
File size: 1.1 KB
Line 
1
2AC_INIT(mod_gnutls, 0.1.0)
3OOO_CONFIG_NICE(config.nice)
4AC_PREREQ(2.53)
5AC_CONFIG_SRCDIR([src/mod_gnutls.c])
6AC_CONFIG_AUX_DIR(config)
7AM_MAINTAINER_MODE
8AC_CANONICAL_TARGET
9AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
10AM_CONFIG_HEADER(include/mod_gnutls_config.h:config.in)
11
12
13AC_PROG_CC
14AC_PROG_LD
15AC_PROG_INSTALL
16
17
18AP_VERSION=2.0.40
19CHECK_APACHE(,$AP_VERSION,
20    :,:,
21    AC_MSG_ERROR([*** Apache version $AP_VERSION not found!])
22)
23
24LIBTOOL="`${APR_CONFIG} --apr-libtool`"
25AC_SUBST(LIBTOOL)
26
27MIN_TLS_VERSION=1.2.0
28CHECK_LIBGNUTLS($MIN_TLS_VERSION)
29
30have_apr_memcache=0
31CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0])
32AC_SUBST(have_apr_memcache)
33
34MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
35MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}"
36
37AC_SUBST(MODULE_CFLAGS)
38AC_SUBST(MODULE_LIBS)
39
40AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h])
41AC_OUTPUT
42
43echo "---"
44echo "Configuration summary for mod_gnutls"
45echo ""
46echo "   * Apache Modules directory:    ${AP_LIBEXECDIR}"
47echo "   * GnuTLS Library Version:      ${LIBGNUTLS_VERSION}"
48echo ""
49echo "---"
Note: See TracBrowser for help on using the repository browser.