1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 01:49:03 +00:00

Fix a libpcap dependency flag in nsock test suite

This commit is contained in:
dmiller
2014-03-14 22:08:51 +00:00
parent 58aa610671
commit 573f9c1a73
2 changed files with 3 additions and 1 deletions

1
nsock/src/configure vendored
View File

@@ -3534,6 +3534,7 @@ if test "${with_libpcap+set}" = set; then :
if test "x$ac_cv_header_pcap_h" = xyes; then :
have_libpcap=yes
LIBPCAP_LIBS=-lpcap
fi

View File

@@ -125,7 +125,8 @@ AC_HELP_STRING([--without-libpcap], [Disable pcap functions.]),
[ case "$with_libpcap" in
yes)
AC_CHECK_HEADER(pcap.h,[
have_libpcap=yes ])
have_libpcap=yes
LIBPCAP_LIBS=-lpcap ])
;;
included)
have_libpcap=no