diff options
author | Darren Tucker <dtucker@zip.com.au> | 2015-12-15 15:10:32 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2015-12-15 15:10:32 +1100 |
commit | b5fa0cd73555b991a543145603658d7088ec6b60 (patch) | |
tree | 1f6f944dfe2df7e56d23b0a60122012e3bd2be9b /configure.ac | |
parent | c1d7e546f6029024f3257cc25c92f2bddf163125 (diff) |
Allow --without-ssl-engine with --without-openssl
Patch from Mike Frysinger via github.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 3ef3c4293..b6854320c 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -2309,10 +2309,10 @@ openssl_engine=no | |||
2309 | AC_ARG_WITH([ssl-engine], | 2309 | AC_ARG_WITH([ssl-engine], |
2310 | [ --with-ssl-engine Enable OpenSSL (hardware) ENGINE support ], | 2310 | [ --with-ssl-engine Enable OpenSSL (hardware) ENGINE support ], |
2311 | [ | 2311 | [ |
2312 | if test "x$openssl" = "xno" ; then | ||
2313 | AC_MSG_ERROR([cannot use --with-ssl-engine when OpenSSL disabled]) | ||
2314 | fi | ||
2315 | if test "x$withval" != "xno" ; then | 2312 | if test "x$withval" != "xno" ; then |
2313 | if test "x$openssl" = "xno" ; then | ||
2314 | AC_MSG_ERROR([cannot use --with-ssl-engine when OpenSSL disabled]) | ||
2315 | fi | ||
2316 | openssl_engine=yes | 2316 | openssl_engine=yes |
2317 | fi | 2317 | fi |
2318 | ] | 2318 | ] |