Permalink
Browse files

Merge pull request #11 from rfrancoise/configures-fixes

Fix two configure issues for system PCRE and Libnet
  • Loading branch information...
jpr5 committed Jan 1, 2018
2 parents 7855256 + 0a51c8b commit 9b5946822a5c9c617d937245fdc9049c5740ae09
Showing with 2 additions and 2 deletions.
  1. +2 −2 configure.in
View
@@ -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" ])

0 comments on commit 9b59468

Please sign in to comment.