1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 02:19:04 +00:00

Look for and link with libnl. This is needed when linking with the new

libpcap 1.1.1 on Linux, when libpcap is also linked with libnl (which is
is when available).
This commit is contained in:
david
2010-06-13 23:24:41 +00:00
parent a99aa3b53b
commit 0bb200e105
2 changed files with 92 additions and 0 deletions

View File

@@ -549,6 +549,9 @@ AC_HELP_STRING([--without-liblua], [Compile without lua (this will exclude all o
# OpenSSL and NSE C modules can require dlopen
AC_SEARCH_LIBS(dlopen, dl)
# libpcap can require libnl
AC_SEARCH_LIBS(nl_handle_alloc, nl)
# They don't want lua
if test "$no_lua" = "yes"; then
CPPFLAGS="-DNOLUA $CPPFLAGS"