diff options
author | Luca Deri <deri@ntop.org> | 2019-10-29 10:29:12 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-10-29 10:29:12 +0100 |
commit | 42c8d3ac273ef92ef507a01aff8f3127840cda3b (patch) | |
tree | b2547335b21522eb8def4948edf5ac07ebfc00c0 /configure.seed | |
parent | d53563ab4651f0bb70fbcc48193e450d92e4c8cd (diff) |
Added ability to defien custom protocols
Diffstat (limited to 'configure.seed')
-rw-r--r-- | configure.seed | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/configure.seed b/configure.seed index a3cc646f2..15c922f08 100644 --- a/configure.seed +++ b/configure.seed @@ -68,8 +68,14 @@ SYSTEM=`uname -s` if test $SYSTEM = "Darwin"; then CC=clang fi - - + +CUSTOM_NDPI= + +if test -d ../nDPI-custom; then : + CUSTOM_NDPI="-DCUSTOM_NDPI_PROTOCOLS" + AC_MSG_RESULT([Compiling with custom nDPI protocols]) +fi + AC_ARG_WITH(hyperscan, [ --with-hyperscan Enable nDPI build with Intel Hyperscan]) AS_IF([test "${with_hyperscan+set}" = set],[ @@ -155,5 +161,5 @@ AC_SUBST(PCAP_LIB) AC_SUBST(DL_LIB) AC_SUBST(DPDK_TARGET) AC_SUBST(HAVE_PTHREAD_SETAFFINITY_NP) - +AC_SUBST(CUSTOM_NDPI) AC_OUTPUT |