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