Changeset fa45dcb in mod_gnutls for configure.ac


Ignore:
Timestamp:
Nov 15, 2013, 9:54:59 PM (6 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
cf2b905
Parents:
6870585
git-author:
Daniel Kahn Gillmor <dkg@…> (01/30/13 00:47:02)
git-committer:
Daniel Kahn Gillmor <dkg@…> (11/15/13 21:54:59)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r6870585 rfa45dcb  
    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.