Changeset 8df5b25 in mod_gnutls for configure.ac


Ignore:
Timestamp:
Jan 11, 2013, 12:56:26 AM (8 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
15ffe0b, 9d9b093
Parents:
dc1e7e6
Message:

Imported Upstream version 0.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rdc1e7e6 r8df5b25  
    11dnl
    2 AC_INIT(mod_gnutls, 0.4.2.1)
     2AC_INIT(mod_gnutls, 0.4.3)
    33OOO_CONFIG_NICE(config.nice)
    44MOD_GNUTLS_VERSION=AC_PACKAGE_VERSION
     
    2929dnl AC_SUBST(LIBTOOL)
    3030
    31 MIN_TLS_VERSION=2.1.7
    32 CHECK_LIBGNUTLS($MIN_TLS_VERSION)
     31MIN_TLS_VERSION=2.2.1
     32AM_PATH_LIBGNUTLS($MIN_TLS_VERSION,,
     33        AC_MSG_ERROR([[
     34*** 
     35*** libgnutls were not found. You may want to get it from
     36*** http://www.gnutls.org/
     37***
     38]]))
    3339
    3440dnl CHECK_LUA()
     
    3844AC_SUBST(have_apr_memcache)
    3945
    40 MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
     46AC_ARG_ENABLE(srp,
     47       AS_HELP_STRING([--disable-srp],
     48               [unconditionally disable the SRP functionality]),
     49       use_srp=$enableval, use_srp=yes)
     50
     51SRP_CFLAGS=""
     52if test "$use_srp" != "no"; then
     53        SRP_CFLAGS="-DENABLE_SRP=1"
     54fi
     55AC_MSG_CHECKING([whether to enable SRP functionality])
     56AC_MSG_RESULT($use_srp)
     57
     58MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${SRP_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
    4159MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}"
    4260
     
    5068echo "Configuration summary for mod_gnutls:"
    5169echo ""
    52 echo "   * mod_gnutls version:  ${MOD_GNUTLS_VERSION}"
    53 echo "   * Apache Modules directory:    ${AP_LIBEXECDIR}"
    54 echo "   * GnuTLS Library version:      ${LIBGNUTLS_VERSION}"
     70echo "   * mod_gnutls version:          ${MOD_GNUTLS_VERSION}"
     71echo "   * Apache Modules directory:    ${AP_LIBEXECDIR}"
     72echo "   * GnuTLS Library version:      ${LIBGNUTLS_VERSION}"
     73echo "   * SRP authentication:          ${use_srp}"
    5574echo ""
    5675echo "---"
Note: See TracChangeset for help on using the changeset viewer.