If there are no objections I plan on committing this tomorrow on both HEAD and 
PHP_4_3 branches.  This fixes the openssl FreeBSD problem I posted about 
earlier.

Is there a better way of fixing it?

Brian

Index: acinclude.m4
===================================================================
RCS file: /repository/php-src/acinclude.m4,v
retrieving revision 1.264
diff -u -p -r1.264 acinclude.m4
--- acinclude.m4        3 Oct 2003 04:29:13 -0000       1.264
+++ acinclude.m4        13 Nov 2003 07:08:28 -0000
@@ -1659,6 +1659,10 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
       -L$OPENSSL_LIBDIR
     ])
   
+    dnl openssl on FreeBSD doesn't have a dependence on crypto
+    dnl    force it
+    LIBS="$LIBS -lcrypto";
+
     PHP_CHECK_LIBRARY(ssl, SSL_CTX_set_ssl_version, [
       PHP_ADD_LIBRARY(ssl,,$1)
       found_openssl=yes

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to