packages/lang/php5/patches/001-configure_cross.patch
pavlov 14c1a8db5f patch file cleanup... ick.. kaloz you owe me some love
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 01:34:12 +00:00

30 lines
1.0 KiB
Diff

--- /tmp/php-5.1.6/configure 2006-08-23 07:55:02.000000000 -0500
+++ php-5.1.6/configure 2007-03-04 18:41:24.000000000 -0600
@@ -14919,7 +14919,7 @@
ac_libs=$LIBS
LIBS="$LIBS -ldl"
if test "$cross_compiling" = yes; then
- found=no
+ found=yes
else
cat > conftest.$ac_ext <<EOF
#line 14926 "configure"
@@ -45575,7 +45575,7 @@
php_iconv_old_ld="$LDFLAGS"
LDFLAGS="-liconv $LDFLAGS"
if test "$cross_compiling" = yes; then
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
+ { echo "configure: error: can not run test program while cross compiling" 1>&2; }
else
cat > conftest.$ac_ext <<EOF
#line 45582 "configure"
@@ -52337,7 +52337,7 @@
_SAVE_CPPFLAGS=$CPPFLAGS
_SAVE_LDFLAGS=$LDFLAGS
CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
- LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD"
+ LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD -lsasl2"
echo $ac_n "checking for 3 arg ldap_set_rebind_proc""... $ac_c" 1>&6
echo "configure:52344: checking for 3 arg ldap_set_rebind_proc" >&5