From: Amos Jeffries Date: Sat, 21 May 2016 13:01:44 +0000 (+1200) Subject: Fix OpenSSL detection on FreeBSD X-Git-Tag: SQUID_3_5_20~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8d5aee1e026ed759b9c95350df506e6fa03f4a7;p=thirdparty%2Fsquid.git Fix OpenSSL detection on FreeBSD --- diff --git a/configure.ac b/configure.ac index 1e64e0ab48..0ac6d4f229 100644 --- a/configure.ac +++ b/configure.ac @@ -1348,10 +1348,10 @@ if test "x$with_openssl" = "xyes"; then AC_CHECK_LIB(crypto,[CRYPTO_new_ex_data],[LIBOPENSSL_LIBS="-lcrypto $LIBOPENSSL_LIBS"],[ AC_MSG_ERROR([library 'crypto' is required for OpenSSL]) - ]) + ],$LIBOPENSSL_LIBS) AC_CHECK_LIB(ssl,[SSL_library_init],[LIBOPENSSL_LIBS="-lssl $LIBOPENSSL_LIBS"],[ AC_MSG_ERROR([library 'ssl' is required for OpenSSL]) - ]) + ],$LIBOPENSSL_LIBS) ]) # This is a workaround for RedHat 9 brain damage..