[PATCH 1/4] packages/lang/php5: Update to version 5.3.1
[openwrt/svn-archive/archive.git] / lang / php5 / patches / 001-configure_cross.patch
1 diff -Naur php-5.3.1.orig/configure php-5.3.1/configure
2 --- php-5.3.1.orig/configure 2009-11-18 21:11:57.000000000 +0100
3 +++ php-5.3.1/configure 2010-01-15 23:43:10.000000000 +0100
4 @@ -14712,7 +14712,7 @@
5 ac_libs=$LIBS
6 LIBS="$LIBS -ldl"
7 if test "$cross_compiling" = yes; then
8 - found=no
9 + found=yes
10 else
11 cat > conftest.$ac_ext <<EOF
12 #line 14719 "configure"
13 @@ -54494,7 +54494,7 @@
14 _SAVE_CPPFLAGS=$CPPFLAGS
15 _SAVE_LIBS=$LIBS
16 CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
17 - LIBS="$LIBS $LDAP_SHARED_LIBADD"
18 + LIBS="$LIBS $LDAP_SHARED_LIBADD -lsasl2"
19
20 echo $ac_n "checking for 3 arg ldap_set_rebind_proc""... $ac_c" 1>&6
21 echo "configure:54501: checking for 3 arg ldap_set_rebind_proc" >&5