reorder patches to fix tcp_wrappers build
[openwrt/svn-archive/archive.git] / lang / php4 / patches / 01-php4_configure.patch
1 --- php-4.3.11/configure 2005-03-30 16:35:34.000000000 +0200
2 +++ php-4.3.11-patched/configure 2005-06-22 23:34:35.000000000 +0200
3 @@ -12192,7 +12192,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 12199 "configure"
12 @@ -14062,7 +14062,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 14069 "configure"
21 @@ -15077,7 +15077,7 @@
22 if { (eval echo configure:15078: \"$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 15084 "configure"
30 @@ -15574,7 +15574,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 15581 "configure"
39 @@ -41304,7 +41304,7 @@
40 echo $ac_n "checking if iconv supports errno""... $ac_c" 1>&6
41 echo "configure:41306: 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 41311 "configure"
48 @@ -43584,7 +43584,7 @@
49 old_LIBS=$LIBS
50 LIBS="$TST_LIBS $LIBS"
51 if test "$cross_compiling" = yes; then
52 - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
53 + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
54 else
55 cat > conftest.$ac_ext <<EOF
56 #line 43591 "configure"
57 @@ -43643,7 +43643,7 @@
58 old_LIBS=$LIBS
59 LIBS="$TST_LIBS $LIBS"
60 if test "$cross_compiling" = yes; then
61 - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
62 + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
63 else
64 cat > conftest.$ac_ext <<EOF
65 #line 43650 "configure"
66 @@ -89183,7 +89183,7 @@
67 old_CPPFLAGS=$CPPFLAGS
68 CPPFLAGS="$CPPFLAGS -I$XSLT_DIR/include"
69 if test "$cross_compiling" = yes; then
70 - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
71 + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
72 else
73 cat > conftest.$ac_ext <<EOF
74 #line 89190 "configure"
75 @@ -98257,7 +98257,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