Allow --without-ssl-engine with --without-openssl
Patch from Mike Frysinger via github.
This commit is contained in:
parent
c1d7e546f6
commit
b5fa0cd735
|
@ -2309,10 +2309,10 @@ openssl_engine=no
|
||||||
AC_ARG_WITH([ssl-engine],
|
AC_ARG_WITH([ssl-engine],
|
||||||
[ --with-ssl-engine Enable OpenSSL (hardware) ENGINE support ],
|
[ --with-ssl-engine Enable OpenSSL (hardware) ENGINE support ],
|
||||||
[
|
[
|
||||||
|
if test "x$withval" != "xno" ; then
|
||||||
if test "x$openssl" = "xno" ; then
|
if test "x$openssl" = "xno" ; then
|
||||||
AC_MSG_ERROR([cannot use --with-ssl-engine when OpenSSL disabled])
|
AC_MSG_ERROR([cannot use --with-ssl-engine when OpenSSL disabled])
|
||||||
fi
|
fi
|
||||||
if test "x$withval" != "xno" ; then
|
|
||||||
openssl_engine=yes
|
openssl_engine=yes
|
||||||
fi
|
fi
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue