aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2015-09-23 15:53:01 +0200
committerLuca Deri <deri@ntop.org>2015-09-23 15:53:01 +0200
commit76c963a70c669ae567ddad5c48fe7c67aeda5e44 (patch)
treed3dc0aa401e3fa0637d304c4f850498c3abff595 /configure.ac
parentf78f6b59cc52bd49d5f562c3159d302a216a0bfa (diff)
Added support for pfring_config
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 403c57417..d2dfc4357 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,7 +46,7 @@ fi
if test -f $PCAP_HOME/libpcap/libpcap.a; then :
echo "Using libpcap from $PCAP_HOME"
PCAP_INC="-I $PCAP_HOME/libpcap"
- PCAP_LIB="$PCAP_HOME/libpcap/libpcap.a $PCAP_HOME/lib/libpfring.a $LIBNUMA"
+ PCAP_LIB="$PCAP_HOME/libpcap/libpcap.a $PCAP_HOME/lib/libpfring.a $LIBNUMA `$PCAP_HOME/lib/pfring_config --libs`"
AC_CHECK_LIB([rt], [clock_gettime], [PCAP_LIB="$PCAP_LIB -lrt"])
AC_CHECK_LIB([nl], [nl_handle_alloc], [PCAP_LIB="$PCAP_LIB -lnl"])