nlopess         Wed Aug  8 11:37:44 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /php-src/ext/ldap   config.m4 
  Log:
  +- Fixed bug #41973 (./configure --with-ldap=shared fails with
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.884&r2=1.2027.2.547.2.885&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.884 php-src/NEWS:1.2027.2.547.2.885
--- php-src/NEWS:1.2027.2.547.2.884     Wed Aug  8 07:41:09 2007
+++ php-src/NEWS        Wed Aug  8 11:37:44 2007
@@ -9,6 +9,8 @@
   more than once). (crrodriguez at suse dot de, Ilia)
 - Fixed bug #42195 (C++ compiler required always). (Jani)
 - Fixed bug #42082 (NodeList length zero should be empty). (Hannes)
+- Fixed bug #41973 (./configure --with-ldap=shared fails with
+  LDFLAGS="-Wl,--as-needed"). (Nuno)
 - Fixed bug #36492 (Userfilters can leak buckets). (Sara)
 
 02 Aug 2007, PHP 5.2.4RC1
http://cvs.php.net/viewvc.cgi/php-src/ext/ldap/config.m4?r1=1.39.2.6.2.1&r2=1.39.2.6.2.2&diff_format=u
Index: php-src/ext/ldap/config.m4
diff -u php-src/ext/ldap/config.m4:1.39.2.6.2.1 
php-src/ext/ldap/config.m4:1.39.2.6.2.2
--- php-src/ext/ldap/config.m4:1.39.2.6.2.1     Wed Oct 18 20:58:23 2006
+++ php-src/ext/ldap/config.m4  Wed Aug  8 11:37:44 2007
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.39.2.6.2.1 2006/10/18 20:58:23 tony2001 Exp $
+dnl $Id: config.m4,v 1.39.2.6.2.2 2007/08/08 11:37:44 nlopess Exp $
 dnl
 
 AC_DEFUN([PHP_LDAP_CHECKS], [
@@ -159,9 +159,9 @@
   
   dnl Save original values
   _SAVE_CPPFLAGS=$CPPFLAGS
-  _SAVE_LDFLAGS=$LDFLAGS
+  _SAVE_LIBS=$LIBS
   CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
-  LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD"
+  LIBS="$LIBS $LDAP_SHARED_LIBADD"
 
   dnl Check for 3 arg ldap_set_rebind_proc
   AC_CACHE_CHECK([for 3 arg ldap_set_rebind_proc], ac_cv_3arg_setrebindproc,
@@ -191,5 +191,5 @@
   
   dnl Restore original values
   CPPFLAGS=$_SAVE_CPPFLAGS
-  LDFLAGS=$_SAVE_LDFLAGS
+  LIBS=$_SAVE_LIBS
 fi 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to