From: Julio Sánchez Fernández Date: Tue, 13 Jul 1999 19:20:16 +0000 (+0000) Subject: Our check for SSLeay_add_ssl_algorithms fails with modern versions of X-Git-Tag: OPENLDAP_REL_ENG_2_BP~155 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ac5348b0d422685f1a75a92a03eea347982b9c4c;p=openldap Our check for SSLeay_add_ssl_algorithms fails with modern versions of OpenSSL since it has been made a preprocessor macro. Please review this change to do the right thing w.r.t. rsaref. --- diff --git a/configure.in b/configure.in index 595c6c5138..ff35955988 100644 --- a/configure.in +++ b/configure.in @@ -687,6 +687,13 @@ if test $ol_with_tls != no ; then [have_ssleay=no], [-lcrypto]) + if test $have_ssleay = no ; then + AC_CHECK_LIB(ssl, SSL_library_init, + [have_ssleay=yes + need_rsaref=no], [have_ssleay=no], + [-lcrypto]) + fi + if test $have_ssleay = no ; then AC_CHECK_LIB(ssl, ssl3_accept, [have_ssleay=yes