php4: update to version 4.4.9
[openwrt/svn-archive/archive.git] / lang / php5 / patches / 001-configure_cross.patch
index 31faf60c8deec79183ed4d406ad21b0501627e22..7265676db822ed1208b767cc72ffa4f4f02f21ea 100644 (file)
@@ -1,8 +1,7 @@
-Index: php-5.2.3/configure
-===================================================================
---- php-5.2.3.orig/configure   2007-07-30 10:52:16.000000000 -0500
-+++ php-5.2.3/configure        2007-07-30 10:52:16.000000000 -0500
-@@ -14233,7 +14233,7 @@
+diff -Naur php-5.3.1.orig/configure php-5.3.1/configure
+--- php-5.3.1.orig/configure   2009-11-18 21:11:57.000000000 +0100
++++ php-5.3.1/configure        2010-01-15 23:43:10.000000000 +0100
+@@ -14712,7 +14712,7 @@
      ac_libs=$LIBS
      LIBS="$LIBS -ldl"
      if test "$cross_compiling" = yes; then
@@ -10,13 +9,13 @@ Index: php-5.2.3/configure
 +  found=yes
  else
    cat > conftest.$ac_ext <<EOF
- #line 14240 "configure"
-@@ -52155,7 +52155,7 @@
+ #line 14719 "configure"
+@@ -54494,7 +54494,7 @@
      _SAVE_CPPFLAGS=$CPPFLAGS
-   _SAVE_LDFLAGS=$LDFLAGS
+   _SAVE_LIBS=$LIBS
    CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
--  LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD"
-+  LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD -lsasl2"
+-  LIBS="$LIBS $LDAP_SHARED_LIBADD"
++  LIBS="$LIBS $LDAP_SHARED_LIBADD -lsasl2"
  
      echo $ac_n "checking for 3 arg ldap_set_rebind_proc""... $ac_c" 1>&6
- echo "configure:52162: checking for 3 arg ldap_set_rebind_proc" >&5
+ echo "configure:54501: checking for 3 arg ldap_set_rebind_proc" >&5