source: mod_gnutls/configure.ac @ b4691f2

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

fix the indent.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1AC_INIT(mod_gnutls, 0.1.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)
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
12AC_SUBST(MOD_GNUTLS_VERSION)
13
14AC_PROG_CC
15AC_PROG_LD
16AC_PROG_INSTALL
17
18
19AP_VERSION=2.0.40
20CHECK_APACHE(,$AP_VERSION,
21    :,:,
22    AC_MSG_ERROR([*** Apache version $AP_VERSION not found!])
23)
24
25LIBTOOL="`${APR_CONFIG} --apr-libtool`"
26AC_SUBST(LIBTOOL)
27
28MIN_TLS_VERSION=1.2.0
29CHECK_LIBGNUTLS($MIN_TLS_VERSION)
30
31have_apr_memcache=0
32CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0])
33AC_SUBST(have_apr_memcache)
34
35MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
36MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}"
37
38AC_SUBST(MODULE_CFLAGS)
39AC_SUBST(MODULE_LIBS)
40
41AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h data/Makefile])
42AC_OUTPUT
43
44echo "---"
45echo "Configuration summary for mod_gnutls:"
46echo ""
47echo "   * mod_gnutls version:  ${MOD_GNUTLS_VERSION}"
48echo "   * Apache Modules directory:    ${AP_LIBEXECDIR}"
49echo "   * GnuTLS Library version:      ${LIBGNUTLS_VERSION}"
50echo ""
51echo "---"
Note: See TracBrowser for help on using the repository browser.