Allow --without-ssl-engine with --without-openssl

Patch from Mike Frysinger via github.
This commit is contained in:
Darren Tucker 2015-12-15 15:10:32 +11:00
parent c1d7e546f6
commit b5fa0cd735
1 changed files with 3 additions and 3 deletions

View File

@ -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
]