From: foobar Date: Thu, 13 Nov 2003 14:17:47 +0000 (+0000) Subject: - Fixed build of shared extensions which require openssl and when you only X-Git-Tag: php-5.0.0b3RC1~697 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4eab4158cdfe35dc8fe482b13051fcb6fe7cf406;p=php - Fixed build of shared extensions which require openssl and when you only have static openssl libraries. --- diff --git a/acinclude.m4 b/acinclude.m4 index 340f79f191..d8a9ce9a3c 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1658,7 +1658,9 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[ ],[ -L$OPENSSL_LIBDIR ]) - + + old_LIBS=$LIBS + LIBS="$LIBS -lcrypto" PHP_CHECK_LIBRARY(ssl, SSL_CTX_set_ssl_version, [ PHP_ADD_LIBRARY(ssl,,$1) found_openssl=yes @@ -1667,6 +1669,7 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[ ],[ -L$OPENSSL_LIBDIR ]) + LIBS=$old_LIBS fi dnl For apache 1.3.x static build