make target selection nicer, choose arch automatically
[openwrt.git] / openwrt / package / php5 / patches / php-5.0.4-configure-cross.patch
1 --- php-5.0.4/configure 2005-06-16 19:23:10.000000000 +0200
2 +++ php-5.0.4-patched/configure 2005-07-01 23:52:04.000000000 +0200
3 @@ -13851,7 +13851,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 13858 "configure"
12 @@ -15724,7 +15724,7 @@
13
14
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 15731 "configure"
21 @@ -16981,7 +16981,7 @@
22 if { (eval echo configure:16982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23 rm -rf conftest*
24 if test "$cross_compiling" = yes; then
25 - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
26 + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
27 else
28 cat > conftest.$ac_ext <<EOF
29 #line 16988 "configure"
30 @@ -17478,7 +17478,7 @@
31 rm -fr conftest*
32
33 if test "$cross_compiling" = yes; then
34 - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
35 + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
36 else
37 cat > conftest.$ac_ext <<EOF
38 #line 17485 "configure"
39 @@ -41405,7 +41405,7 @@
40 echo $ac_n "checking if iconv supports errno""... $ac_c" 1>&6
41 echo "configure:41407: checking if iconv supports errno" >&5
42 if test "$cross_compiling" = yes; then
43 - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
44 + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
45 else
46 cat > conftest.$ac_ext <<EOF
47 #line 41412 "configure"
48 @@ -95618,7 +95618,7 @@
49 version_type=none
50 dynamic_linker="$host_os ld.so"
51 sys_lib_dlsearch_path_spec="/lib /usr/lib"
52 -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
53 +sys_lib_search_path_spec=""
54
55 case $host_os in
56 aix3*)
57 @@ -95828,7 +95828,7 @@
58 esac
59 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
60 shlibpath_overrides_runpath=no
61 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
62 + sys_lib_search_path_spec=""
63 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
64 ;;
65
66 @@ -95878,7 +95878,7 @@
67 ;;
68 esac
69 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
70 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
71 + sys_lib_search_path_spec=""
72 ;;
73
74 netbsd*)
75 @@ -96977,7 +96977,7 @@
76 link_all_deplibs=$link_all_deplibs
77
78 # Compile-time system search path for libraries
79 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80 +sys_lib_search_path_spec=
81
82 # Run-time system search path for libraries
83 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
This page took 0.048639 seconds and 5 git commands to generate.