diff options
author | Luca Deri <deri@ntop.org> | 2018-11-10 16:10:22 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2018-11-10 16:10:22 +0100 |
commit | 71b2c19cf28f72ad2e876719af88c7841c2aea84 (patch) | |
tree | 8d5d8c1be904f1b8ff88aaa3adcac0bdcfbbfdff /configure.seed | |
parent | 6d929bf4cc48d54db91678a24ef0afb2e20382d7 (diff) |
Added DPDK support to ndpiReader
Diffstat (limited to 'configure.seed')
-rw-r--r-- | configure.seed | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.seed b/configure.seed index f3b267904..11220f885 100644 --- a/configure.seed +++ b/configure.seed @@ -40,6 +40,14 @@ AC_CHECK_HEADERS([netinet/in.h stdint.h stdlib.h string.h unistd.h]) PCAP_HOME=$HOME/PF_RING/userland +DPDK_TARGET= +if test -d $HOME/DPDK; then : + echo "Enabling DPDK support in ndpiReader" + DPDK_TARGET=dpdk +else + echo "DPDK support disabled (missing $HOME/DPDK)" +fi + if test -d $PCAP_HOME; then : echo -n "" else @@ -138,7 +146,7 @@ AC_ARG_ENABLE([debug-messages], AC_CHECK_LIB(pthread, pthread_setaffinity_np, AC_DEFINE_UNQUOTED(HAVE_PTHREAD_SETAFFINITY_NP, 1, [libc has pthread_setaffinity_np])) -AC_CONFIG_FILES([Makefile example/Makefile tests/Makefile libndpi.pc src/include/ndpi_define.h src/lib/Makefile]) +AC_CONFIG_FILES([Makefile example/Makefile example/Makefile.dpdk tests/Makefile libndpi.pc src/include/ndpi_define.h src/lib/Makefile]) AC_CONFIG_HEADERS(src/include/ndpi_config.h) AC_SUBST(GIT_RELEASE) AC_SUBST(NDPI_MAJOR) @@ -152,6 +160,7 @@ AC_SUBST(PCAP_LIB) AC_SUBST(DL_LIB) AC_SUBST(HS_LIB) AC_SUBST(HS_INC) +AC_SUBST(DPDK_TARGET) AC_SUBST(HAVE_PTHREAD_SETAFFINITY_NP) AC_OUTPUT |