Changeset 15f2849 in mod_gnutls for configure.ac


Ignore:
Timestamp:
Jun 26, 2020, 6:15:55 PM (7 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master
Children:
44323c0
Parents:
40d4afa
Message:

Optionally build with LLVM/clang profiling and gather data during tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r40d4afa r15f2849  
    5757       vpath_install=$enableval, vpath_install=no)
    5858AM_CONDITIONAL([ENABLE_VPATH_INSTALL], [test "$vpath_install" = "yes"])
     59
     60AC_ARG_ENABLE(clang-coverage,
     61       AS_HELP_STRING([--enable-clang-coverage],
     62               [Collect coverage information using clang profiling \
     63               instrumentation. Do not use for production!]),
     64       coverage=$enableval, coverage=no)
     65COVERAGE_CFLAGS=""
     66AS_IF([test "${coverage}" != "no"], [
     67        COVERAGE_CFLAGS="-fprofile-instr-generate -fcoverage-mapping"
     68])
     69AM_CONDITIONAL([ENABLE_COVERAGE], [test "$coverage" = "yes"])
    5970
    6071AC_ARG_ENABLE(srp,
     
    224235AC_PATH_PROGS([HTTP_CLI], [curl], [no])
    225236
    226 MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${GNUTLS_FEAT_CFLAGS} ${MSVA_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES} ${STRICT_CFLAGS}"
     237MODULE_CFLAGS="${LIBGNUTLS_CFLAGS} ${GNUTLS_FEAT_CFLAGS} ${MSVA_CFLAGS} ${APXS_CFLAGS} ${AP_INCLUDES} ${APR_INCLUDES} ${APU_INCLUDES} ${STRICT_CFLAGS} ${COVERAGE_CFLAGS}"
    227238MODULE_LIBS="${LIBGNUTLS_LIBS}"
    228239
Note: See TracChangeset for help on using the changeset viewer.