X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=vnet%2Fconfigure.ac;h=6a5281b09866523bdcb081c9bbfb893cd33f9707;hb=f07dc9e236506f50a0230e6680cf1402dea6a976;hp=5d01acc96de92cb6eef57bc291df1776ff9bddd6;hpb=bbae375ca20df350b26bb97cbe63835661379457;p=vpp.git diff --git a/vnet/configure.ac b/vnet/configure.ac index 5d01acc96de..6a5281b0986 100644 --- a/vnet/configure.ac +++ b/vnet/configure.ac @@ -8,10 +8,15 @@ AM_SILENT_RULES([yes]) AC_PROG_CC AC_ARG_WITH(dpdk, - AC_HELP_STRING([--with-dpdk],[Use the Intel dpdk]), + AC_HELP_STRING([--with-dpdk],[Use DPDK]), [with_dpdk=1], [with_dpdk=0]) +AC_ARG_WITH(dpdk_crypto, + AC_HELP_STRING([--with-dpdk-crypto],[Use DPDK cryptodev]), + [with_dpdk_crypto=1], + [with_dpdk_crypto=0]) + AC_ARG_WITH(ipsec, AC_HELP_STRING([--without-ipsec],[Disable ipsec]), [with_ipsec=0], @@ -27,6 +32,9 @@ AC_ARG_ENABLE(tests, [enable_tests=1], [enable_tests=0]) +AM_CONDITIONAL(WITH_DPDK_CRYPTO, test "$with_dpdk_crypto" = "1") +AC_SUBST(DPDK_CRYPTO,[-DDPDK_CRYPTO=${with_dpdk_crypto}]) + AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1") AC_SUBST(DPDK,[-DDPDK=${with_dpdk}])