source: mod_gnutls/configure.ac @ 2cdc264

debian/masterdebian/stretch-backportsjessie-backportsmsvaupstream
Last change on this file since 2cdc264 was 2cdc264, checked in by Nokis Mavrogiannopoulos <nmav@…>, 12 years ago

ooops

  • Property mode set to 100644
File size: 1.5 KB
Line 
1dnl
2AC_INIT(mod_gnutls, 0.5.0-alpha)
3OOO_CONFIG_NICE(config.nice)
4MOD_GNUTLS_VERSION=AC_PACKAGE_VERSION
5AC_PREREQ(2.53)
6AC_CONFIG_SRCDIR([src/mod_gnutls.c])
7AC_CONFIG_AUX_DIR(config)
8
9OOO_MAINTAIN_MODE
10AM_MAINTAINER_MODE
11AC_CANONICAL_TARGET
12AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
13AM_CONFIG_HEADER(include/mod_gnutls_config.h:config.in)
14
15AC_SUBST(MOD_GNUTLS_VERSION)
16
17AC_PROG_CC
18AC_PROG_LD
19AC_PROG_INSTALL
20AC_PROG_LIBTOOL
21
22AP_VERSION=2.0.40
23CHECK_APACHE(,$AP_VERSION,
24    :,:,
25    AC_MSG_ERROR([*** Apache version $AP_VERSION not found!])
26)
27
28dnl LIBTOOL="`${APR_CONFIG} --apr-libtool`"
29dnl AC_SUBST(LIBTOOL)
30
31MIN_TLS_VERSION=2.2.1
32AM_PATH_LIBGNUTLS_EXTRA($MIN_TLS_VERSION,,
33        AC_MSG_ERROR([[
34*** 
35*** libgnutls and libgnutls-extra were not found. You may want to get it from
36*** http://www.gnutls.org/
37***
38]]))
39
40dnl CHECK_LUA()
41
42have_apr_memcache=0
43CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0])
44AC_SUBST(have_apr_memcache)
45
46MODULE_CFLAGS="${LIBGNUTLS_EXTRA_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
47MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_EXTRA_LIBS}"
48
49AC_SUBST(MODULE_CFLAGS)
50AC_SUBST(MODULE_LIBS)
51
52AC_CONFIG_FILES([Makefile src/Makefile include/mod_gnutls.h])
53AC_OUTPUT
54
55echo "---"
56echo "Configuration summary for mod_gnutls:"
57echo ""
58echo "   * mod_gnutls version:  ${MOD_GNUTLS_VERSION}"
59echo "   * Apache Modules directory:    ${AP_LIBEXECDIR}"
60echo "   * GnuTLS Library version:      ${LIBGNUTLS_VERSION}"
61echo ""
62echo "---"
Note: See TracBrowser for help on using the repository browser.