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 @@
7 if test "$cross_compiling" = yes; then
11 cat > conftest.$ac_ext <<EOF
12 #line 14719 "configure"
13 @@ -54494,7 +54494,7 @@
14 _SAVE_CPPFLAGS=$CPPFLAGS
16 CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
17 - LIBS="$LIBS $LDAP_SHARED_LIBADD"
18 + LIBS="$LIBS $LDAP_SHARED_LIBADD -lsasl2"
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