diff --git a/configure.in b/configure.in index d7ccbb867980d5a5817af3ac47fe55a964fffcde..9a60a8acae1d2f62ae38a208080ad2a1ed2fe52f 100644 --- a/configure.in +++ b/configure.in @@ -569,8 +569,7 @@ else dnl This is only reasonable to do if crypto actually is there: check for dnl SSL libs NOTE: it is important to do this AFTER the crypto lib - LIBS="$LIBS -lcrypto" - + AC_CHECK_LIB(crypto, CRYPTO_add_lock) AC_CHECK_LIB(ssl, SSL_connect) if test "$ac_cv_lib_ssl_SSL_connect" != yes; then