From b7058662200147ccbd6a7825623d3edf7eb7079d Mon Sep 17 00:00:00 2001 From: gio Date: Thu, 9 Jul 2015 08:48:18 +0000 Subject: [PATCH] Print warning if OpenSSL is not found but not explicitely disabled --- configure | 4 ++++ configure.ac | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/configure b/configure index 1ae0ec95c..4a10df199 100755 --- a/configure +++ b/configure @@ -9255,3 +9255,7 @@ fi echo " NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND RESPONSIBLY" echo "Configuration complete. 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" +fi diff --git a/configure.ac b/configure.ac index aadc2603f..b1f02399d 100644 --- a/configure.ac +++ b/configure.ac @@ -989,3 +989,7 @@ fi echo " NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND RESPONSIBLY" echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile." + +if test "x$use_openssl" = "xno" && test "x$with_openssl" != "xno"; then + echo "WARNING: You are compiling without OpenSSL" +fi