2 AC_CONFIG_AUX_DIR(config)
3 AC_CONFIG_HEADERS(config/config.h)
11 AC_HELP_STRING([--with-dpdk],[Use the Intel dpdk]),
16 AC_HELP_STRING([--without-ipsec],[Disable ipsec]),
21 AC_HELP_STRING([--without-ipv6sr],[Disable ipv6sr]),
26 AC_HELP_STRING([--enable-tests], [Build unit tests]),
30 AM_CONDITIONAL(WITH_DPDK, test "$with_dpdk" = "1")
31 AC_SUBST(DPDK,[-DDPDK=${with_dpdk}])
33 AM_CONDITIONAL(WITH_IPSEC, test "$with_ipsec" = "1")
34 AC_SUBST(IPSEC,[-DIPSEC=${with_ipsec}])
36 AM_CONDITIONAL(WITH_IPV6SR, test "$with_ipv6sr" = "1")
37 AC_SUBST(IPV6SR,[-DIPV6SR=${with_ipv6sr}])
39 AM_CONDITIONAL(ENABLE_TESTS, test "$enable_tests" = "1")