move from php 5.0.5 to php 5.1.6... compiles but not tested on a platform
[openwrt/svn-archive/archive.git] / lang / php5 / patches / 01-configure_cross.patch
1 --- /tmp/php-5.1.6/configure 2006-08-23 07:55:02.000000000 -0500
2 +++ php-5.1.6/configure 2007-03-03 18:59:35.000000000 -0600
3 @@ -14919,7 +14919,7 @@
4 ac_libs=$LIBS
5 LIBS="$LIBS -ldl"
6 if test "$cross_compiling" = yes; then
7 - found=no
8 + found=yes
9 else
10 cat > conftest.$ac_ext <<EOF
11 #line 14926 "configure"
12 @@ -45575,7 +45575,7 @@
13 php_iconv_old_ld="$LDFLAGS"
14 LDFLAGS="-liconv $LDFLAGS"
15 if test "$cross_compiling" = yes; then
16 - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
17 + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
18 else
19 cat > conftest.$ac_ext <<EOF
20 #line 45582 "configure"
21 @@ -107054,6 +107054,7 @@
22 else
23 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
24 fi
25 +sys_lib_search_path_spec=""
26 need_lib_prefix=unknown
27 hardcode_into_libs=no
28
29 @@ -107596,6 +107597,8 @@
30 dynamic_linker=no
31 ;;
32 esac
33 +sys_lib_search_path_spec=""
34 +
35 echo "$ac_t""$dynamic_linker" 1>&6
36 test "$dynamic_linker" = no && can_build_shared=no
37
38 @@ -108669,7 +108672,7 @@
39 link_all_deplibs=$link_all_deplibs
40
41 # Compile-time system search path for libraries
42 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
43 +sys_lib_search_path_spec=
44
45 # Run-time system search path for libraries
46 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec