sniper          Fri Dec 12 00:19:31 2003 EDT

  Modified files:              
    /php-src    acinclude.m4 
  Log:
  Fixed bug #26461 (-lssl missing from LIBS)
  
Index: php-src/acinclude.m4
diff -u php-src/acinclude.m4:1.266 php-src/acinclude.m4:1.267
--- php-src/acinclude.m4:1.266  Thu Dec  4 10:57:55 2003
+++ php-src/acinclude.m4        Fri Dec 12 00:19:30 2003
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.266 2003/12/04 15:57:55 sniper Exp $
+dnl $Id: acinclude.m4,v 1.267 2003/12/12 05:19:30 sniper Exp $
 dnl
 dnl This file contains local autoconf functions.
 
@@ -1663,7 +1663,6 @@
     old_LIBS=$LIBS
     LIBS="$LIBS -lcrypto"
     PHP_CHECK_LIBRARY(ssl, SSL_CTX_set_ssl_version, [
-      PHP_ADD_LIBRARY(ssl,,$1)
       found_openssl=yes
     ],[
       AC_MSG_ERROR([libssl not found!])
@@ -1671,6 +1670,7 @@
       -L$OPENSSL_LIBDIR
     ])
     LIBS=$old_LIBS
+    PHP_ADD_LIBRARY(ssl,,$1)
   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

Reply via email to