Browse Source

- Fixed build of shared extensions which require openssl and when you only

have static openssl libraries.
PEAR_1_4DEV
foobar 23 years ago
parent
commit
4eab4158cd
  1. 5
      acinclude.m4

5
acinclude.m4

@ -1658,7 +1658,9 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
],[ ],[
-L$OPENSSL_LIBDIR -L$OPENSSL_LIBDIR
]) ])
old_LIBS=$LIBS
LIBS="$LIBS -lcrypto"
PHP_CHECK_LIBRARY(ssl, SSL_CTX_set_ssl_version, [ PHP_CHECK_LIBRARY(ssl, SSL_CTX_set_ssl_version, [
PHP_ADD_LIBRARY(ssl,,$1) PHP_ADD_LIBRARY(ssl,,$1)
found_openssl=yes found_openssl=yes
@ -1667,6 +1669,7 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
],[ ],[
-L$OPENSSL_LIBDIR -L$OPENSSL_LIBDIR
]) ])
LIBS=$old_LIBS
fi fi
dnl For apache 1.3.x static build dnl For apache 1.3.x static build

Loading…
Cancel
Save