source:
freewrt/package/glib/patches/02-cross-compile-fix.patch@
d419478
| Last change on this file since d419478 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 8.0 KB | |
-
glib-1.2.10
diff -urN glib-1.2.10.old/configure glib-1.2.10/configure
old new 6025 6025 glib_save_LIBS=$LIBS 6026 6026 LIBS="$LIBS -lm" 6027 6027 if test "$cross_compiling" = yes; then 6028 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6028 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6029 6029 else 6030 6030 cat > conftest.$ac_ext <<EOF 6031 6031 #line 6032 "configure" … … 6043 6043 glib_save_CFLAGS=$CFLAGS 6044 6044 CFLAGS="$CFLAGS -std1" 6045 6045 if test "$cross_compiling" = yes; then 6046 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6046 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6047 6047 else 6048 6048 cat > conftest.$ac_ext <<EOF 6049 6049 #line 6050 "configure" … … 6390 6390 echo $ac_n "(cached) $ac_c" 1>&6 6391 6391 else 6392 6392 if test "$cross_compiling" = yes; then 6393 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6393 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6394 6394 else 6395 6395 cat > conftest.$ac_ext <<EOF 6396 6396 #line 6397 "configure" … … 6430 6430 echo $ac_n "(cached) $ac_c" 1>&6 6431 6431 else 6432 6432 if test "$cross_compiling" = yes; then 6433 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6433 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6434 6434 else 6435 6435 cat > conftest.$ac_ext <<EOF 6436 6436 #line 6437 "configure" … … 6470 6470 echo $ac_n "(cached) $ac_c" 1>&6 6471 6471 else 6472 6472 if test "$cross_compiling" = yes; then 6473 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6473 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6474 6474 else 6475 6475 cat > conftest.$ac_ext <<EOF 6476 6476 #line 6477 "configure" … … 6510 6510 echo $ac_n "(cached) $ac_c" 1>&6 6511 6511 else 6512 6512 if test "$cross_compiling" = yes; then 6513 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6513 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6514 6514 else 6515 6515 cat > conftest.$ac_ext <<EOF 6516 6516 #line 6517 "configure" … … 6550 6550 echo $ac_n "(cached) $ac_c" 1>&6 6551 6551 else 6552 6552 if test "$cross_compiling" = yes; then 6553 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6553 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6554 6554 else 6555 6555 cat > conftest.$ac_ext <<EOF 6556 6556 #line 6557 "configure" … … 6590 6590 echo $ac_n "(cached) $ac_c" 1>&6 6591 6591 else 6592 6592 if test "$cross_compiling" = yes; then 6593 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6593 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6594 6594 else 6595 6595 cat > conftest.$ac_ext <<EOF 6596 6596 #line 6597 "configure" … … 6708 6708 else 6709 6709 6710 6710 if test "$cross_compiling" = yes; then 6711 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6711 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6712 6712 else 6713 6713 cat > conftest.$ac_ext <<EOF 6714 6714 #line 6715 "configure" … … 6749 6749 else 6750 6750 6751 6751 if test "$cross_compiling" = yes; then 6752 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6752 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6753 6753 else 6754 6754 cat > conftest.$ac_ext <<EOF 6755 6755 #line 6756 "configure" … … 6790 6790 else 6791 6791 6792 6792 if test "$cross_compiling" = yes; then 6793 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6793 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6794 6794 else 6795 6795 cat > conftest.$ac_ext <<EOF 6796 6796 #line 6797 "configure" … … 6876 6876 rm -f conftest* 6877 6877 if test $ac_cv_c_bigendian = unknown; then 6878 6878 if test "$cross_compiling" = yes; then 6879 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}6879 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 6880 6880 else 6881 6881 cat > conftest.$ac_ext <<EOF 6882 6882 #line 6883 "configure" … … 7767 7767 else 7768 7768 7769 7769 if test "$cross_compiling" = yes; then 7770 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}7770 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 7771 7771 else 7772 7772 cat > conftest.$ac_ext <<EOF 7773 7773 #line 7774 "configure" … … 7809 7809 else 7810 7810 7811 7811 if test "$cross_compiling" = yes; then 7812 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}7812 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 7813 7813 else 7814 7814 cat > conftest.$ac_ext <<EOF 7815 7815 #line 7816 "configure" … … 7854 7854 else 7855 7855 7856 7856 if test "$cross_compiling" = yes; then 7857 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}7857 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 7858 7858 else 7859 7859 cat > conftest.$ac_ext <<EOF 7860 7860 #line 7861 "configure" … … 7899 7899 else 7900 7900 7901 7901 if test "$cross_compiling" = yes; then 7902 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}7902 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 7903 7903 else 7904 7904 cat > conftest.$ac_ext <<EOF 7905 7905 #line 7906 "configure" … … 8254 8254 else 8255 8255 8256 8256 if test "$cross_compiling" = yes; then 8257 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}8257 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 8258 8258 else 8259 8259 cat > conftest.$ac_ext <<EOF 8260 8260 #line 8261 "configure" … … 8306 8306 else 8307 8307 8308 8308 if test "$cross_compiling" = yes; then 8309 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}8309 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 8310 8310 else 8311 8311 cat > conftest.$ac_ext <<EOF 8312 8312 #line 8313 "configure" … … 9137 9137 echo $ac_n "(cached) $ac_c" 1>&6 9138 9138 else 9139 9139 if test "$cross_compiling" = yes; then 9140 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}9140 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 9141 9141 else 9142 9142 cat > conftest.$ac_ext <<EOF 9143 9143 #line 9144 "configure" … … 9237 9237 echo "configure:9238: checking whether pthread_mutex_trylock is posix like" >&5 9238 9238 # DCE Threads return 1 as success, posix 0. what a mess. 9239 9239 if test "$cross_compiling" = yes; then 9240 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}9240 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 9241 9241 else 9242 9242 cat > conftest.$ac_ext <<EOF 9243 9243 #line 9244 "configure" … … 9267 9267 echo "configure:9268: checking whether pthread_cond_timedwait is posix like" >&5 9268 9268 # DCE Threads return -1 as failure, posix ETIMEDOUT. 9269 9269 if test "$cross_compiling" = yes; then 9270 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}9270 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 9271 9271 else 9272 9272 cat > conftest.$ac_ext <<EOF 9273 9273 #line 9274 "configure" … … 9332 9332 echo $ac_n "(cached) $ac_c" 1>&6 9333 9333 else 9334 9334 if test "$cross_compiling" = yes; then 9335 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}9335 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 9336 9336 else 9337 9337 cat > conftest.$ac_ext <<EOF 9338 9338 #line 9339 "configure" … … 9452 9452 done 9453 9453 echo "return 0; }" >>confrun.c 9454 9454 if test "$cross_compiling" = yes; then 9455 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1;}9455 { echo "configure: error: can not run test program while cross compiling" 1>&2; } 9456 9456 else 9457 9457 cat > conftest.$ac_ext <<EOF 9458 9458 #line 9459 "configure"
Note:
See TracBrowser
for help on using the repository browser.
