summaryrefslogtreecommitdiff
path: root/ftp/pavuk/files/patch-ae
blob: f1f89a6c4c59332194e3c65823fe51620c1470a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- configure.in.orig	Sun Jul 25 15:18:07 1999
+++ configure.in	Thu Feb 10 16:30:46 2000
@@ -197,14 +197,14 @@
 fi
 
 if eval "test x$WITH_SSL = xyes"; then
-	AC_CHECK_LIB(ssl, SSLv23_client_method, SSL_LIBS="-lssl", ,"-lcrypto")
+	AC_CHECK_LIB(ssl, SSLv23_client_method, SSL_LIBS="-lssl", ,-lcrypto $EXTRA_SSL_LIBS)
 	if test -n "$SSL_LIBS"; then
 		AC_CHECK_HEADER(ssl.h, SSLEAY=yes, SSLEAY=no)
 		AC_CHECK_HEADER(openssl/ssl.h, OPENSSL=yes, OPENSSL=no)
 		if eval "test x$SSLEAY = xno -a  x$OPENSSL = xno"; then
 			AC_WARN("SSLeay headers not found --\> use --disable-ssl option or set --with-ssl-includes to apropriate location")
 		fi
-		AC_CHECK_LIB(crypto, SSLeay, SSL_LIBS="$SSL_LIBS -lcrypto", SSL_LIBS='')
+		AC_CHECK_LIB(crypto, SSLeay, SSL_LIBS="$SSL_LIBS -lcrypto $EXTRA_SSL_LIBS", SSL_LIBS='', $EXTRA_SSL_LIBS)
 	fi
 fi