Changeset ec4c5da in mod_gnutls


Ignore:
Timestamp:
Jan 30, 2013, 12:47:02 AM (7 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
msva
Children:
d2adb28
Parents:
6f76e16
Message:

MSVA: ./configure now supports --enable-msva

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r6f76e16 rec4c5da  
    4545AC_MSG_RESULT($use_srp)
    4646
     47AC_ARG_ENABLE(msva,
     48       AS_HELP_STRING([--enable-msva],
     49               [enable Monkeysphere client certificate verification]),
     50       use_msva=$enableval, use_msva=no)
     51
     52MSVA_CFLAGS=""
     53if test "$use_msva" != "no"; then
     54        AC_CHECK_HEADERS([msv/msv.h], [],
     55                         [AC_MSG_ERROR([*** No libmsv headers found!])])
     56        AC_SEARCH_LIBS([msv_query_agent], [msv], [],
     57                         [AC_MSG_ERROR([*** No libmsv found with msv_query_agent!])])
     58        MSVA_CFLAGS="-DENABLE_MSVA=1"
     59fi
     60
     61AC_MSG_CHECKING([whether to enable MSVA functionality])
     62AC_MSG_RESULT($use_msva)
     63
    4764have_apr_memcache=0
    4865CHECK_APR_MEMCACHE([have_apr_memcache=1], [have_apr_memcache=0])
    4966AC_SUBST(have_apr_memcache)
    5067
    51 MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${SRP_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
     68MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${SRP_CFLAGS} ${MSVA_CFLAGS} ${APR_MEMCACHE_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES}"
    5269MODULE_LIBS="${APR_MEMCACHE_LIBS} ${LIBGNUTLS_LIBS}"
    5370
     
    6582echo "   * GnuTLS Library version:      ${LIBGNUTLS_VERSION}"
    6683echo "   * SRP Authentication:          ${use_srp}"
     84echo "   * MSVA Client Verification:    ${use_msva}"
    6785echo ""
    6886echo "---"
Note: See TracChangeset for help on using the changeset viewer.