From f2fbee5134c2c0b33bdddf0a6419f3c770e1f89c Mon Sep 17 00:00:00 2001 From: Andrew Knight Date: Thu, 30 Jul 2015 10:59:48 +0300 Subject: [PATCH] configure: Fix (Open)SSL detection on WinCE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "ssl" should be defined when "openssl" is defined, and WinCE should default to autodetection of OpenSSL. Change-Id: I5693923ba2d3fea1a670df556c107e6ff75e6575 Reviewed-by: Andreas Holzammer Reviewed-by: Richard J. Moore Reviewed-by: Björn Breitmeyer Reviewed-by: Frederik Gladhorn --- tools/configure/configureapp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 25e95e198bb..26299f2b796 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -911,8 +911,10 @@ void Configure::parseCmdLine() dictionary[ "OPENSSL"] = "no"; } else if (configCmdLine.at(i) == "-openssl") { dictionary[ "OPENSSL" ] = "yes"; + dictionary[ "SSL" ] = "yes"; } else if (configCmdLine.at(i) == "-openssl-linked") { dictionary[ "OPENSSL" ] = "linked"; + dictionary[ "SSL" ] = "yes"; } else if (configCmdLine.at(i) == "-no-libproxy") { dictionary[ "LIBPROXY"] = "no"; } else if (configCmdLine.at(i) == "-libproxy") { @@ -1701,8 +1703,6 @@ void Configure::applySpecSpecifics() dictionary[ "STYLE_WINDOWSCE" ] = "yes"; dictionary[ "STYLE_WINDOWSMOBILE" ] = "yes"; dictionary[ "OPENGL" ] = "no"; - dictionary[ "SSL" ] = "no"; - dictionary[ "OPENSSL" ] = "no"; dictionary[ "RTTI" ] = "no"; dictionary[ "SSE2" ] = "no"; dictionary[ "SSE3" ] = "no";