packages/lang/php4/patches/002-configure.patch
florian 04941d8477 Fix 002-configure.patch not applying cleanly (#4036)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-27 10:59:58 +00:00

84 lines
3.2 KiB
Diff

--- a/configure.orig 2008-09-24 16:00:23.000000000 +0900
+++ a/configure 2008-09-24 16:00:45.000000000 +0900
@@ -12503,7 +12503,7 @@
ac_libs=$LIBS
LIBS="$LIBS -ldl"
if test "$cross_compiling" = yes; then
- found=no
+ found=yes
else
cat > conftest.$ac_ext <<EOF
#line 12510 "configure"
@@ -14373,7 +14373,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 14380 "configure"
@@ -15622,7 +15622,7 @@
if { (eval echo configure:15623: \"$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 15629 "configure"
@@ -16119,7 +16119,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 16126 "configure"
@@ -43884,7 +43884,7 @@
echo $ac_n "checking if iconv supports errno""... $ac_c" 1>&6
echo "configure:43886: 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 43891 "configure"
@@ -46342,7 +46342,7 @@
old_LIBS=$LIBS
LIBS="$TST_LIBS $LIBS"
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 46349 "configure"
@@ -46401,7 +46401,7 @@
old_LIBS=$LIBS
LIBS="$TST_LIBS $LIBS"
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 46408 "configure"
@@ -93621,7 +93621,7 @@
old_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS -I$XSLT_DIR/include"
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 93628 "configure"
@@ -102812,7 +102812,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