02-cross-compile-fix.patch 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. diff -urN glib-1.2.10.old/configure glib-1.2.10/configure
  2. --- glib-1.2.10.old/configure 2005-04-03 01:09:18.000000000 +0200
  3. +++ glib-1.2.10/configure 2005-04-03 01:09:37.000000000 +0200
  4. @@ -6025,7 +6025,7 @@
  5. glib_save_LIBS=$LIBS
  6. LIBS="$LIBS -lm"
  7. if test "$cross_compiling" = yes; then
  8. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  9. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  10. else
  11. cat > conftest.$ac_ext <<EOF
  12. #line 6032 "configure"
  13. @@ -6043,7 +6043,7 @@
  14. glib_save_CFLAGS=$CFLAGS
  15. CFLAGS="$CFLAGS -std1"
  16. if test "$cross_compiling" = yes; then
  17. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  18. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  19. else
  20. cat > conftest.$ac_ext <<EOF
  21. #line 6050 "configure"
  22. @@ -6390,7 +6390,7 @@
  23. echo $ac_n "(cached) $ac_c" 1>&6
  24. else
  25. if test "$cross_compiling" = yes; then
  26. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  27. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  28. else
  29. cat > conftest.$ac_ext <<EOF
  30. #line 6397 "configure"
  31. @@ -6430,7 +6430,7 @@
  32. echo $ac_n "(cached) $ac_c" 1>&6
  33. else
  34. if test "$cross_compiling" = yes; then
  35. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  36. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  37. else
  38. cat > conftest.$ac_ext <<EOF
  39. #line 6437 "configure"
  40. @@ -6470,7 +6470,7 @@
  41. echo $ac_n "(cached) $ac_c" 1>&6
  42. else
  43. if test "$cross_compiling" = yes; then
  44. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  45. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  46. else
  47. cat > conftest.$ac_ext <<EOF
  48. #line 6477 "configure"
  49. @@ -6510,7 +6510,7 @@
  50. echo $ac_n "(cached) $ac_c" 1>&6
  51. else
  52. if test "$cross_compiling" = yes; then
  53. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  54. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  55. else
  56. cat > conftest.$ac_ext <<EOF
  57. #line 6517 "configure"
  58. @@ -6550,7 +6550,7 @@
  59. echo $ac_n "(cached) $ac_c" 1>&6
  60. else
  61. if test "$cross_compiling" = yes; then
  62. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  63. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  64. else
  65. cat > conftest.$ac_ext <<EOF
  66. #line 6557 "configure"
  67. @@ -6590,7 +6590,7 @@
  68. echo $ac_n "(cached) $ac_c" 1>&6
  69. else
  70. if test "$cross_compiling" = yes; then
  71. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  72. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  73. else
  74. cat > conftest.$ac_ext <<EOF
  75. #line 6597 "configure"
  76. @@ -6708,7 +6708,7 @@
  77. else
  78. if test "$cross_compiling" = yes; then
  79. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  80. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  81. else
  82. cat > conftest.$ac_ext <<EOF
  83. #line 6715 "configure"
  84. @@ -6749,7 +6749,7 @@
  85. else
  86. if test "$cross_compiling" = yes; then
  87. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  88. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  89. else
  90. cat > conftest.$ac_ext <<EOF
  91. #line 6756 "configure"
  92. @@ -6790,7 +6790,7 @@
  93. else
  94. if test "$cross_compiling" = yes; then
  95. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  96. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  97. else
  98. cat > conftest.$ac_ext <<EOF
  99. #line 6797 "configure"
  100. @@ -6876,7 +6876,7 @@
  101. rm -f conftest*
  102. if test $ac_cv_c_bigendian = unknown; then
  103. if test "$cross_compiling" = yes; then
  104. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  105. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  106. else
  107. cat > conftest.$ac_ext <<EOF
  108. #line 6883 "configure"
  109. @@ -7767,7 +7767,7 @@
  110. else
  111. if test "$cross_compiling" = yes; then
  112. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  113. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  114. else
  115. cat > conftest.$ac_ext <<EOF
  116. #line 7774 "configure"
  117. @@ -7809,7 +7809,7 @@
  118. else
  119. if test "$cross_compiling" = yes; then
  120. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  121. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  122. else
  123. cat > conftest.$ac_ext <<EOF
  124. #line 7816 "configure"
  125. @@ -7854,7 +7854,7 @@
  126. else
  127. if test "$cross_compiling" = yes; then
  128. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  129. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  130. else
  131. cat > conftest.$ac_ext <<EOF
  132. #line 7861 "configure"
  133. @@ -7899,7 +7899,7 @@
  134. else
  135. if test "$cross_compiling" = yes; then
  136. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  137. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  138. else
  139. cat > conftest.$ac_ext <<EOF
  140. #line 7906 "configure"
  141. @@ -8254,7 +8254,7 @@
  142. else
  143. if test "$cross_compiling" = yes; then
  144. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  145. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  146. else
  147. cat > conftest.$ac_ext <<EOF
  148. #line 8261 "configure"
  149. @@ -8306,7 +8306,7 @@
  150. else
  151. if test "$cross_compiling" = yes; then
  152. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  153. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  154. else
  155. cat > conftest.$ac_ext <<EOF
  156. #line 8313 "configure"
  157. @@ -9137,7 +9137,7 @@
  158. echo $ac_n "(cached) $ac_c" 1>&6
  159. else
  160. if test "$cross_compiling" = yes; then
  161. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  162. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  163. else
  164. cat > conftest.$ac_ext <<EOF
  165. #line 9144 "configure"
  166. @@ -9237,7 +9237,7 @@
  167. echo "configure:9238: checking whether pthread_mutex_trylock is posix like" >&5
  168. # DCE Threads return 1 as success, posix 0. what a mess.
  169. if test "$cross_compiling" = yes; then
  170. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  171. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  172. else
  173. cat > conftest.$ac_ext <<EOF
  174. #line 9244 "configure"
  175. @@ -9267,7 +9267,7 @@
  176. echo "configure:9268: checking whether pthread_cond_timedwait is posix like" >&5
  177. # DCE Threads return -1 as failure, posix ETIMEDOUT.
  178. if test "$cross_compiling" = yes; then
  179. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  180. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  181. else
  182. cat > conftest.$ac_ext <<EOF
  183. #line 9274 "configure"
  184. @@ -9332,7 +9332,7 @@
  185. echo $ac_n "(cached) $ac_c" 1>&6
  186. else
  187. if test "$cross_compiling" = yes; then
  188. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  189. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  190. else
  191. cat > conftest.$ac_ext <<EOF
  192. #line 9339 "configure"
  193. @@ -9452,7 +9452,7 @@
  194. done
  195. echo "return 0; }" >>confrun.c
  196. if test "$cross_compiling" = yes; then
  197. - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  198. + { echo "configure: error: can not run test program while cross compiling" 1>&2; }
  199. else
  200. cat > conftest.$ac_ext <<EOF
  201. #line 9459 "configure"