source: mod_gnutls/configure.ac @ 8e33f2d

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