1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-30 19:39:07 +00:00

Fixes #181 keep track and print resume of enabled/disabled Nmap features

This commit is contained in:
gio
2015-07-09 08:48:22 +00:00
parent b705866220
commit 08e9abbc62
2 changed files with 50 additions and 4 deletions

29
configure vendored
View File

@@ -2398,6 +2398,9 @@ $as_echo "$USE_NLS" >&6; }
trace_use=""
trace_no_use=""
# Check whether --with-localdirs was given.
if test "${with_localdirs+set}" = set; then :
@@ -2416,12 +2419,15 @@ fi
if test "$user_localdirs" = 1; then
trace_use="$trace_use localdirs"
if test -d /usr/local/lib; then
LDFLAGS="$LDFLAGS -L/usr/local/lib"
fi
if test -d /usr/local/include; then
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
fi
else
trace_no_use="$trace_no_use localdirs"
fi
if test "${top_nmap_srcdir+set}" != set; then
@@ -5760,6 +5766,7 @@ See \`config.log' for more details" "$LINENO" 5; }
with_ndiff=no
fi
if test "$with_ndiff" = "no"; then
trace_no_use="$trace_no_use ndiff"
BUILDNDIFF=""
INSTALLNDIFF=""
UNINSTALLNDIFF=""
@@ -5767,6 +5774,7 @@ if test "$with_ndiff" = "no"; then
NDIFF_CLEAN=""
NDIFF_DIST_CLEAN=""
else
trace_use="$trace_use ndiff"
BUILDNDIFF=build-ndiff
INSTALLNDIFF=install-ndiff
UNINSTALLNDIFF=uninstall-ndiff
@@ -5808,6 +5816,7 @@ See \`config.log' for more details" "$LINENO" 5; }
with_zenmap=no
fi
if test "$with_zenmap" = "no"; then
trace_no_use="$trace_no_use zenmap"
BUILDZENMAP=""
INSTALLZENMAP=""
UNINSTALLZENMAP=""
@@ -5815,6 +5824,7 @@ if test "$with_zenmap" = "no"; then
ZENMAP_CLEAN=""
ZENMAP_DIST_CLEAN=""
else
trace_use="$trace_use zenmap"
BUILDZENMAP=build-zenmap
INSTALLZENMAP=install-zenmap
UNINSTALLZENMAP=uninstall-zenmap
@@ -5843,12 +5853,14 @@ fi
if test "$with_nping" = "no"; then
trace_no_use="$trace_no_use nping"
BUILDNPING=""
INSTALLNPING=""
UNINSTALLNPING=""
NPING_CLEAN=""
NPING_DIST_CLEAN=""
else
trace_use="$trace_use nping"
BUILDNPING=build-nping
INSTALLNPING=install-nping
UNINSTALLNPING=uninstall-nping
@@ -6010,10 +6022,13 @@ fi
OPENSSL_LIBS=
if test "$use_openssl" = "yes"; then
trace_use="$trace_use openssl"
$as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
OPENSSL_LIBS="-lssl -lcrypto"
else
trace_no_use="$trace_no_use openssl"
fi
@@ -6650,6 +6665,7 @@ fi
# They don't want lua
if test "$no_lua" = "yes"; then
trace_no_use="$trace_no_use lua"
CPPFLAGS="-DNOLUA $CPPFLAGS"
LIBLUA_LIBS=""
LUA_DEPENDS=""
@@ -6659,6 +6675,7 @@ if test "$no_lua" = "yes"; then
INSTALLNSE=""
else
trace_use="$trace_use lua"
# If they didn't specify it, we try to find it
if test $have_lua != yes; then
@@ -7526,6 +7543,7 @@ fi
if test "$with_ncat" = "no"; then
trace_no_use="$trace_no_use ncat"
NCAT_BUILD=""
NCAT_CHECK=""
NCAT_INSTALL=""
@@ -7533,6 +7551,7 @@ if test "$with_ncat" = "no"; then
NCAT_CLEAN=""
NCAT_DIST_CLEAN=""
else
trace_use="$trace_use ncat"
NCAT_BUILD="ncat_build"
NCAT_CHECK="ncat_check"
NCAT_INSTALL="install-ncat"
@@ -7781,12 +7800,14 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
if test "$with_nmap_update" = "no"; then
trace_no_use="$trace_no_use nmap-update"
NMAP_UPDATE_BUILD=""
NMAP_UPDATE_INSTALL=""
NMAP_UPDATE_UNINSTALL=""
NMAP_UPDATE_CLEAN=""
NMAP_UPDATE_DIST_CLEAN=""
else
trace_use="$trace_use nmap-update"
subdirs="$subdirs nmap-update"
NMAP_UPDATE_BUILD="build-nmap-update"
@@ -9254,8 +9275,10 @@ if test "$FILENAME"; then
fi
echo " NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND RESPONSIBLY"
echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile."
echo "Configured with:$trace_use"
echo "Configured without:$trace_no_use"
echo "Type make (or gmake on some *BSD machines) to compile."
if test "$use_openssl" = "no" && test "$with_openssl" != "no"; then
echo "WARNING: You are compiling without OpenSSL $use_openssl $with_openssl"
if test "x$use_openssl" = "xno" && test "x$with_openssl" != "xno"; then
echo "WARNING: You are compiling without OpenSSL"
fi