commit 9b5946822a5c9c617d937245fdc9049c5740ae09
parent 7855256f9e6d758916c5c38d157dc5d8decde203
Author: Jordan Ritter <jpr5@darkridge.com>
Date: Mon, 1 Jan 2018 09:46:08 -0800
Merge pull request #11 from rfrancoise/configures-fixes
Fix two configure issues for system PCRE and Libnet
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.in b/configure.in
@@ -146,7 +146,7 @@ AC_ARG_ENABLE(pcre,
[ use_pcre="$enableval" ],
[ use_pcre="no" ])
-if test use_pcre = yes; then
+if test $use_pcre = yes; then
USE_PCRE="1"
EXTRA_LIBS="$EXTRA_LIBS -lpcre"
else
@@ -174,7 +174,7 @@ dnl
AC_ARG_ENABLE(tcpkill,
[ --enable-tcpkill enable connection killing support (default off)],
[
- AC_CHECK_LIB(net, libnet_init_packet,,echo !!! error: tcpkill feature enabled but no libnet found; exit)
+ AC_CHECK_LIB(net, libnet_init,,echo !!! error: tcpkill feature enabled but no libnet found; exit)
use_tcpkill="$enableval"
],
[ use_tcpkill="no" ])