Fix 002-configure.patch not applying cleanly (#4036)
[openwrt/svn-archive/archive.git] / lang / php4 / patches / 002-configure.patch
1 --- a/configure.orig 2008-09-24 16:00:23.000000000 +0900
2 +++ a/configure 2008-09-24 16:00:45.000000000 +0900
3 @@ -12503,7 +12503,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 12510 "configure"
12 @@ -14373,7 +14373,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 14380 "configure"
21 @@ -15622,7 +15622,7 @@
22 if { (eval echo configure:15623: \"$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 15629 "configure"
30 @@ -16119,7 +16119,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 16126 "configure"
39 @@ -43884,7 +43884,7 @@
40 echo $ac_n "checking if iconv supports errno""... $ac_c" 1>&6
41 echo "configure:43886: 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 43891 "configure"
48 @@ -46342,7 +46342,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 46349 "configure"
57 @@ -46401,7 +46401,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 46408 "configure"
66 @@ -93621,7 +93621,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 93628 "configure"
75 @@ -102812,7 +102812,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