Configure code cleanup

This commit is contained in:
Luca Deri
2020-08-19 22:01:03 +02:00
parent 115888ef7a
commit 59ac73b37f
+4 -5
View File
@@ -78,16 +78,15 @@ ADDITIONAL_LIBS=
PCAP_HOME=$HOME/PF_RING/userland PCAP_HOME=$HOME/PF_RING/userland
DPDK_TARGET= DPDK_TARGET=
AC_MSG_CHECKING([DPDK (used by ndpiReader)])
if test -d $HOME/DPDK; then : if test -d $HOME/DPDK; then :
echo "Enabling DPDK support in ndpiReader" AC_MSG_RESULT(yes)
DPDK_TARGET=dpdk DPDK_TARGET=dpdk
else else
echo "DPDK support disabled (missing $HOME/DPDK)" AC_MSG_RESULT([no (missing $HOME/DPDK)])
fi fi
if test -d $PCAP_HOME; then : if ! test -d $PCAP_HOME; then :
echo -n ""
else
PCAP_HOME=`pwd`/../../PF_RING/userland PCAP_HOME=`pwd`/../../PF_RING/userland
fi fi
SHORT_MACHINE=`uname -m | cut -b1-3` SHORT_MACHINE=`uname -m | cut -b1-3`