sniper Thu Nov 13 09:17:48 2003 EDT
Modified files:
/php-src acinclude.m4
Log:
- Fixed build of shared extensions which require openssl and when you only
have static openssl libraries.
Index: php-src/acinclude.m4
diff -u php-src/acinclude.m4:1.264 php-src/acinclude.m4:1.265
--- php-src/acinclude.m4:1.264 Fri Oct 3 00:29:13 2003
+++ php-src/acinclude.m4 Thu Nov 13 09:17:47 2003
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.264 2003/10/03 04:29:13 sniper Exp $
+dnl $Id: acinclude.m4,v 1.265 2003/11/13 14:17:47 sniper Exp $
dnl
dnl This file contains local autoconf functions.
@@ -1658,7 +1658,9 @@
],[
-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 @@
],[
-L$OPENSSL_LIBDIR
])
+ LIBS=$old_LIBS
fi
dnl For apache 1.3.x static build
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php