fixes compile for ldap module in php5
authorTim Yardley <lst@openwrt.org>
Mon, 5 Mar 2007 00:52:17 +0000 (00:52 +0000)
committerTim Yardley <lst@openwrt.org>
Mon, 5 Mar 2007 00:52:17 +0000 (00:52 +0000)
SVN-Revision: 6525

lang/php5/patches/01-configure_cross.patch

index dd2e68fcad58f7f61d71f6a2c6b7a90dd83b476d..4e14f6251756527b08ce882f8ddfd34df37b0731 100644 (file)
@@ -1,5 +1,5 @@
 --- /tmp/php-5.1.6/configure   2006-08-23 07:55:02.000000000 -0500
-+++ php-5.1.6/configure        2007-03-03 18:59:35.000000000 -0600
++++ php-5.1.6/configure        2007-03-04 18:41:24.000000000 -0600
 @@ -14919,7 +14919,7 @@
      ac_libs=$LIBS
      LIBS="$LIBS -ldl"
  else
    cat > conftest.$ac_ext <<EOF
  #line 45582 "configure"
-@@ -107054,6 +107054,7 @@
- else
-   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
- fi
-+sys_lib_search_path_spec=""
- need_lib_prefix=unknown
- hardcode_into_libs=no
-@@ -107596,6 +107597,8 @@
-   dynamic_linker=no
-   ;;
- esac
-+sys_lib_search_path_spec=""
-+
- echo "$ac_t""$dynamic_linker" 1>&6
- test "$dynamic_linker" = no && can_build_shared=no
-@@ -108669,7 +108672,7 @@
- link_all_deplibs=$link_all_deplibs
- # Compile-time system search path for libraries
--sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
-+sys_lib_search_path_spec=
+@@ -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"
  
- # Run-time system search path for libraries
- sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+     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