]> granicus.if.org Git - curl/commitdiff
added a lame double-check for libcrypto as otherwise it wouldn't get added
authorDaniel Stenberg <daniel@haxx.se>
Mon, 21 May 2001 13:33:03 +0000 (13:33 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 21 May 2001 13:33:03 +0000 (13:33 +0000)
properly! (?) Anyone has any better solution then please step forward!

configure.in

index d7ccbb867980d5a5817af3ac47fe55a964fffcde..9a60a8acae1d2f62ae38a208080ad2a1ed2fe52f 100644 (file)
@@ -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