| 131 |
|
AS_IF([test "$cf_openssl_version_ok" = "yes"], |
| 132 |
|
[AC_MSG_RESULT(found) |
| 133 |
|
|
| 134 |
< |
AC_CHECK_LIB(ssl, SSL_connect) |
| 135 |
< |
AS_IF([test "$ac_cv_lib_ssl_SSL_connect" = "yes"], |
| 136 |
< |
[AC_CHECK_LIB(crypto, RSA_free)]) |
| 134 |
> |
AC_CHECK_LIB(crypto, RSA_free) |
| 135 |
> |
AS_IF([test "$ac_cv_lib_crypto_RSA_free" = "yes"], |
| 136 |
> |
[AC_CHECK_LIB(ssl, SSL_connect)]) |
| 137 |
|
],[AC_MSG_RESULT(no - OpenSSL support disabled) |
| 138 |
|
cf_enable_openssl="no"])]) |
| 139 |
|
|
| 140 |
< |
AM_CONDITIONAL(ENABLE_SSL, [test "$ac_cv_lib_crypto_RSA_free" = yes]) |
| 140 |
> |
AM_CONDITIONAL(ENABLE_SSL, [test "$ac_cv_lib_ssl_SSL_connect" = yes]) |
| 141 |
|
|
| 142 |
|
|
| 143 |
|
AC_ARG_ENABLE(assert, AS_HELP_STRING([--enable-assert], |