diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-03-02 22:20:25 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-03-02 23:39:15 +0100 |
commit | c41c82d8a3b4d4d956b4ec3c006d6859ab33670b (patch) | |
tree | ff1001d6e9ebaaa2aad250e10edc5f76aa92862d /configure.ac | |
parent | cb62dfd24945f5732166ecb4121354adc48cec80 (diff) |
Added autoconf option `--enable-tls-sigs'.improved/tls-sig-dissect-and-ci
* Testing more code in CI environments.
* Added strict option checking for `./configure' in CI environments.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d10435fa8..51a1cecc5 100644 --- a/configure.ac +++ b/configure.ac @@ -17,6 +17,7 @@ AC_ARG_WITH(sanitizer, AS_HELP_STRING([--with-sanitizer], [Build with suppor AC_ARG_ENABLE(fuzztargets, AS_HELP_STRING([--enable-fuzztargets], [Enable fuzz targets]),[enable_fuzztargets=$enableval],[enable_fuzztargets=no]) AC_ARG_ENABLE(code-coverage, AS_HELP_STRING([--enable-code-coverage], [Generate Code Coverage report])) AC_ARG_WITH(local-libgcrypt, AS_HELP_STRING([--with-local-libgcrypt], [Build with libgcrypt (if present) instead of the enclosed gcrypt light])) +AC_ARG_ENABLE(tls-sigs, AS_HELP_STRING([--enable-tls-sigs], [Enable TLS Client signature algorithm dissection. Rarely used, but requires significantly more memory.])) AS_IF([test "x$enable_fuzztargets" = "xyes"], [BUILD_FUZZTARGETS=1], [BUILD_FUZZTARGETS=0]) AM_CONDITIONAL([BUILD_FUZZTARGETS], [test "x$enable_fuzztargets" = "xyes"]) @@ -26,7 +27,7 @@ AS_IF([test "${with_sanitizer+set}" = set],[ LDFLAGS="${LDFLAGS} -fsanitize=address -fsanitize=undefined -fno-sanitize=alignment -fsanitize=leak" ]) -AS_IF([test "x$enable_code_coverage" = "xyes"],[ +AS_IF([test "x${enable_code_coverage}" = "xyes"],[ CFLAGS="${CFLAGS} -fprofile-arcs -ftest-coverage" LDFLAGS="${LDFLAGS} --coverage" ]) @@ -110,6 +111,11 @@ if ! test "${with_only_libndpi+set}" = set; then : ]) fi +HANDLE_TLS_SIGS="//" +AS_IF([test "x${enable_tls_sigs}" = "xyes"],[ + HANDLE_TLS_SIGS="" +]) + LIBS="$LIBS $JSONC_LIBS" CFLAGS="-W -Wall -Wno-unused-parameter -Wno-unused-function $CFLAGS $JSONC_CFLAGS" @@ -309,4 +315,5 @@ AC_SUBST(JSONC_CFLAGS) AC_SUBST(JSONC_LIBS) AC_SUBST(USE_HOST_LIBGCRYPT) AC_SUBST(PCRE_ENABLED) +AC_SUBST(HANDLE_TLS_SIGS) AC_OUTPUT |