From: Amos Jeffries Date: Fri, 20 May 2016 14:57:48 +0000 (+1200) Subject: Fix OpenSSL detection on FreeBSD X-Git-Tag: SQUID_4_0_11~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=37a20074871c0d17fbd2023c42e3854fd6049ee6;p=thirdparty%2Fsquid.git Fix OpenSSL detection on FreeBSD --- diff --git a/configure.ac b/configure.ac index 50d175b020..6a4a2c97f5 100644 --- a/configure.ac +++ b/configure.ac @@ -1324,10 +1324,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..