summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2015-12-15 15:10:32 +1100
committerDarren Tucker <dtucker@zip.com.au>2015-12-15 15:10:32 +1100
commitb5fa0cd73555b991a543145603658d7088ec6b60 (patch)
tree1f6f944dfe2df7e56d23b0a60122012e3bd2be9b
parentc1d7e546f6029024f3257cc25c92f2bddf163125 (diff)
Allow --without-ssl-engine with --without-openssl
Patch from Mike Frysinger via github.
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 3ef3c429..b6854320 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2309,10 +2309,10 @@ openssl_engine=no
AC_ARG_WITH([ssl-engine],
[ --with-ssl-engine Enable OpenSSL (hardware) ENGINE support ],
[
- if test "x$openssl" = "xno" ; then
- AC_MSG_ERROR([cannot use --with-ssl-engine when OpenSSL disabled])
- fi
if test "x$withval" != "xno" ; then
+ if test "x$openssl" = "xno" ; then
+ AC_MSG_ERROR([cannot use --with-ssl-engine when OpenSSL disabled])
+ fi
openssl_engine=yes
fi
]