source: mod_gnutls/configure.ac @ 31645b2

debian/masterdebian/stretch-backportsjessie-backportsmsvaupstream
Last change on this file since 31645b2 was 31645b2, checked in by Paul Querna <chip@…>, 14 years ago

working SNI. Not so working Client Cert support.

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[31645b2]1AC_INIT(mod_gnutls, 0.2.0)
[9706fc2]2OOO_CONFIG_NICE(config.nice)
[42307a9]3MOD_GNUTLS_VERSION=AC_PACKAGE_VERSION
[6e0bfd6]4AC_PREREQ(2.53)
[9706fc2]5AC_CONFIG_SRCDIR([src/mod_gnutls.c])
[6e0bfd6]6AC_CONFIG_AUX_DIR(config)
[5a6446d]7OOO_MAINTAIN_MODE
[9706fc2]8AM_MAINTAINER_MODE
9AC_CANONICAL_TARGET
[6e0bfd6]10AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
11AM_CONFIG_HEADER(include/mod_gnutls_config.h:config.in)
[9706fc2]12
[42307a9]13AC_SUBST(MOD_GNUTLS_VERSION)
[9706fc2]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
[6e0bfd6]26LIBTOOL="`${APR_CONFIG} --apr-libtool`"
27AC_SUBST(LIBTOOL)
28
29MIN_TLS_VERSION=1.2.0
[16068f4]30CHECK_LIBGNUTLS($MIN_TLS_VERSION)
31
[6e0bfd6]32have_apr_memcache=0
33CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0])
34AC_SUBST(have_apr_memcache)
[ed47098]35
[a66e147]36MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
37MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}"
[9706fc2]38
39AC_SUBST(MODULE_CFLAGS)
[16068f4]40AC_SUBST(MODULE_LIBS)
[9706fc2]41
[6af4f74]42AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h data/Makefile])
[9706fc2]43AC_OUTPUT
44
45echo "---"
[42307a9]46echo "Configuration summary for mod_gnutls:"
[9706fc2]47echo ""
[ea14e97]48echo "   * mod_gnutls version:  ${MOD_GNUTLS_VERSION}"
[16068f4]49echo "   * Apache Modules directory:    ${AP_LIBEXECDIR}"
[42307a9]50echo "   * GnuTLS Library version:      ${LIBGNUTLS_VERSION}"
[9706fc2]51echo ""
52echo "---"
Note: See TracBrowser for help on using the repository browser.