31faf60c8deec79183ed4d406ad21b0501627e22
[openwrt/svn-archive/archive.git] / lang / php5 / patches / 001-configure_cross.patch
1 Index: php-5.2.3/configure
2 ===================================================================
3 --- php-5.2.3.orig/configure 2007-07-30 10:52:16.000000000 -0500
4 +++ php-5.2.3/configure 2007-07-30 10:52:16.000000000 -0500
5 @@ -14233,7 +14233,7 @@
6 ac_libs=$LIBS
7 LIBS="$LIBS -ldl"
8 if test "$cross_compiling" = yes; then
9 - found=no
10 + found=yes
11 else
12 cat > conftest.$ac_ext <<EOF
13 #line 14240 "configure"
14 @@ -52155,7 +52155,7 @@
15 _SAVE_CPPFLAGS=$CPPFLAGS
16 _SAVE_LDFLAGS=$LDFLAGS
17 CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
18 - LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD"
19 + LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD -lsasl2"
20
21 echo $ac_n "checking for 3 arg ldap_set_rebind_proc""... $ac_c" 1>&6
22 echo "configure:52162: checking for 3 arg ldap_set_rebind_proc" >&5