mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
Re-autoconf the configure scripts (using 2.69)
This commit is contained in:
10
configure
vendored
10
configure
vendored
@@ -2413,8 +2413,7 @@ if test "$user_localdirs" = 1; then
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
fi
|
||||
if test -d /usr/local/include; then
|
||||
CFLAGS="$CFLAGS -I/usr/local/include"
|
||||
CXXFLAGS="$CXXFLAGS -I/usr/local/include"
|
||||
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -6216,7 +6215,7 @@ fi
|
||||
have_libpcap=no
|
||||
;;
|
||||
*)
|
||||
_cppflags=$CXXFLAGS
|
||||
_cppflags=$CPPFLAGS
|
||||
_ldflags=$LDFLAGS
|
||||
|
||||
CPPFLAGS="-I$with_libpcap/include $CPPFLAGS"
|
||||
@@ -6272,7 +6271,7 @@ fi
|
||||
|
||||
|
||||
LDFLAGS=$_ldflags
|
||||
CXXFLAGS=$_cppflags
|
||||
CPPFLAGS=$_cppflags
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -6285,9 +6284,6 @@ fi
|
||||
|
||||
if test $have_libpcap = yes; then
|
||||
if test "${LIBPCAP_INC+set}" = "set"; then
|
||||
_cflags=$CXXFLAGS
|
||||
_ldflags=$LDFLAGS
|
||||
|
||||
CPPFLAGS="-I$LIBPCAP_INC $CPPFLAGS"
|
||||
LDFLAGS="-L$LIBPCAP_LIB $LDFLAGS"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user