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:
1
nsock/src/configure
vendored
1
nsock/src/configure
vendored
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user