summaryrefslogtreecommitdiff
path: root/openwrt/package/php5/patches/php-5.0.4-configure-cross.patch
blob: d4c423b3b0f3cac6d5466cb343a66e0acdbabc34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
--- php-5.0.4/configure	2005-06-16 19:23:10.000000000 +0200
+++ php-5.0.4-patched/configure	2005-07-01 23:52:04.000000000 +0200
@@ -13851,7 +13851,7 @@
     ac_libs=$LIBS
     LIBS="$LIBS -ldl"
     if test "$cross_compiling" = yes; then
-  found=no
+  found=yes
 else
   cat > conftest.$ac_ext <<EOF
 #line 13858 "configure"
@@ -15724,7 +15724,7 @@
 
 		
 		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 15731 "configure"
@@ -16981,7 +16981,7 @@
 if { (eval echo configure:16982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   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 16988 "configure"
@@ -17478,7 +17478,7 @@
   rm -fr conftest*
   
   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 17485 "configure"
@@ -41405,7 +41405,7 @@
     echo $ac_n "checking if iconv supports errno""... $ac_c" 1>&6
 echo "configure:41407: checking if iconv supports errno" >&5
     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 41412 "configure"
@@ -95618,7 +95618,7 @@
 version_type=none
 dynamic_linker="$host_os ld.so"
 sys_lib_dlsearch_path_spec="/lib /usr/lib"
-sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+sys_lib_search_path_spec=""
 
 case $host_os in
 aix3*)
@@ -95828,7 +95828,7 @@
   esac
   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   shlibpath_overrides_runpath=no
-  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+  sys_lib_search_path_spec=""
   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   ;;
 
@@ -95878,7 +95878,7 @@
     ;;
   esac
   sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
-  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+  sys_lib_search_path_spec=""
   ;;
 
 netbsd*)
@@ -96977,7 +96977,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=
 
 # Run-time system search path for libraries
 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec