source: mod_gnutls/configure.ac @ 0475f1bc

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

prep for 0.1.1 release.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1AC_INIT(mod_gnutls, 0.1.1)
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
32have_apr_memcache=0
33CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0])
34AC_SUBST(have_apr_memcache)
35
36MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
37MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}"
38
39AC_SUBST(MODULE_CFLAGS)
40AC_SUBST(MODULE_LIBS)
41
42AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h data/Makefile])
43AC_OUTPUT
44
45echo "---"
46echo "Configuration summary for mod_gnutls:"
47echo ""
48echo "   * mod_gnutls version:  ${MOD_GNUTLS_VERSION}"
49echo "   * Apache Modules directory:    ${AP_LIBEXECDIR}"
50echo "   * GnuTLS Library version:      ${LIBGNUTLS_VERSION}"
51echo ""
52echo "---"
Note: See TracBrowser for help on using the repository browser.