X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fconfigure.ac;h=8830c68deffd42216c40737f44ad2026e6d91683;hb=6a5adc369591fcac2447e9809deaa22f56b53911;hp=ad2dab1e7a3170096635b5474e72ac0d88449785;hpb=473f46135c3fd77dad5614215cc279b1164e9a74;p=vpp.git diff --git a/src/configure.ac b/src/configure.ac index ad2dab1e7a3..8830c68deff 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([vpp], [18.07], [vpp-dev@fd.io]) +AC_INIT([vpp], [18.11], [vpp-dev@fd.io]) LT_INIT AC_CONFIG_AUX_DIR([.]) AM_INIT_AUTOMAKE([subdir-objects]) @@ -190,6 +190,7 @@ ENABLE_ARG(tests, [Enable unit tests]) ENABLE_ARG(dpdk_shared, [Enable unit tests]) ENABLE_ARG(perftool, [Enable perftool]) ENABLE_ARG(g2, [Enable g2]) +ENABLE_ARG(dlmalloc, [Enable dlmalloc]) # --disable-X DISABLE_ARG(vlib, [Disable vlib and dependant libs and binaries]) @@ -232,6 +233,8 @@ AC_ARG_WITH(pre-data, *) with_pre_data="pre-data-not-set" ;; esac], [with_pre_data=128]) +AM_CONDITIONAL(ENABLE_DLMALLOC, test "$enable_dlmalloc" = "yes") + ############################################################################### # Target CPU flags ############################################################################### @@ -278,6 +281,7 @@ AS_IF([test "$cc_flag_check" = yes], AC_SUBST(PRE_DATA_SIZE, [$with_pre_data]) AC_SUBST(LOG2_CACHE_LINE_BYTES, [$with_log2_cache_line_bytes]) AC_SUBST(APICLI, [-DVPP_API_TEST_BUILTIN=${n_with_apicli}]) +AC_SUBST(DLMALLOC, [-DUSE_DLMALLOC=${n_enable_dlmalloc}]) AC_DEFINE_UNQUOTED(DPDK_SHARED_LIB, [${n_enable_dpdk_shared}]) AC_DEFINE_UNQUOTED(WITH_LIBSSL, [${n_with_libssl}]) @@ -310,10 +314,12 @@ PLUGIN_ENABLED(ixge) PLUGIN_ENABLED(l2e) PLUGIN_ENABLED(lacp) PLUGIN_ENABLED(lb) +PLUGIN_ENABLED(mactime) PLUGIN_ENABLED(marvell) PLUGIN_ENABLED(memif) PLUGIN_ENABLED(pppoe) PLUGIN_ENABLED(nat) +PLUGIN_ENABLED(map) PLUGIN_ENABLED(srv6ad) PLUGIN_ENABLED(srv6am) PLUGIN_ENABLED(srv6as) @@ -395,7 +401,13 @@ AM_COND_IF([ENABLE_TLSMBEDTLS_PLUGIN], ], []) ]) -AM_COND_IF([WITH_LIBSSL], [], +AM_COND_IF([WITH_LIBSSL], +[ + AC_CHECK_LIB([ssl -lcrypto], [SSL_set_async_callback], + [ + AC_DEFINE([HAVE_OPENSSL_ASYNC], [1], [Define if new openssl interface exists]) + ]) +], [ AC_MSG_WARN([openssl not enabled. Disabling tlsopenssl plugin]) enable_tlsopenssl_plugin=no @@ -439,6 +451,7 @@ PRINT_VAL([CFLAGS], ${CFLAGS}) PRINT_VAL([CPPFLAGS], ${CPPFLAGS}) PRINT_VAL([LDFLAGS], ${LDFLAGS}) PRINT_VAL([LOG2_CACHE_LINE_BYTES], ${with_log2_cache_line_bytes}) +PRINT_VAL([DLMALLOC], ${enable_dlmalloc}) AM_COND_IF([ENABLE_JAPI], [ PRINT_VAL([JAVA_VERSION], ${JAVA_VERSION})