patch-icedtea6-1_10_configure 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. --- w-openjdk-6-1.orig/icedtea6-1.10/configure 2011-03-02 20:48:44.321157333 +0100
  2. +++ w-openjdk-6-1/icedtea6-1.10/configure 2011-04-01 16:12:33.091819347 +0200
  3. @@ -10803,25 +10803,9 @@ else
  4. -for ac_header in cups/cups.h cups/ppd.h
  5. -do :
  6. - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7. -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  8. -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  9. - cat >>confdefs.h <<_ACEOF
  10. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11. -_ACEOF
  12. -
  13. -
  14. -else
  15. - as_fn_error $? "\"CUPS headers were not found -
  16. - try installing cups-devel.\"" "$LINENO" 5
  17. -fi
  18. -
  19. -done
  20. -
  21. for ac_header in X11/X.h
  22. do :
  23. ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
  24. @@ -10879,46 +10863,6 @@ else
  25. as_fn_error $? "\"libjpeg not found - try installing libjpeg-devel\"" "$LINENO" 5
  26. fi
  27. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgif" >&5
  28. -$as_echo_n "checking for main in -lgif... " >&6; }
  29. -if ${ac_cv_lib_gif_main+:} false; then :
  30. - $as_echo_n "(cached) " >&6
  31. -else
  32. - ac_check_lib_save_LIBS=$LIBS
  33. -LIBS="-lgif $LIBS"
  34. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35. -/* end confdefs.h. */
  36. -
  37. -
  38. -int
  39. -main ()
  40. -{
  41. -return main ();
  42. - ;
  43. - return 0;
  44. -}
  45. -_ACEOF
  46. -if ac_fn_c_try_link "$LINENO"; then :
  47. - ac_cv_lib_gif_main=yes
  48. -else
  49. - ac_cv_lib_gif_main=no
  50. -fi
  51. -rm -f core conftest.err conftest.$ac_objext \
  52. - conftest$ac_exeext conftest.$ac_ext
  53. -LIBS=$ac_check_lib_save_LIBS
  54. -fi
  55. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_main" >&5
  56. -$as_echo "$ac_cv_lib_gif_main" >&6; }
  57. -if test "x$ac_cv_lib_gif_main" = xyes; then :
  58. - cat >>confdefs.h <<_ACEOF
  59. -#define HAVE_LIBGIF 1
  60. -_ACEOF
  61. -
  62. - LIBS="-lgif $LIBS"
  63. -
  64. -else
  65. - as_fn_error $? "\"giflib not found - try installing giflib-devel\"" "$LINENO" 5
  66. -fi
  67. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5
  68. $as_echo_n "checking for main in -lz... " >&6; }
  69. @@ -11271,83 +11215,6 @@ fi
  70. -pkg_failed=no
  71. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINERAMA" >&5
  72. -$as_echo_n "checking for XINERAMA... " >&6; }
  73. -
  74. -if test -n "$XINERAMA_CFLAGS"; then
  75. - pkg_cv_XINERAMA_CFLAGS="$XINERAMA_CFLAGS"
  76. - elif test -n "$PKG_CONFIG"; then
  77. - if test -n "$PKG_CONFIG" && \
  78. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5
  79. - ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
  80. - ac_status=$?
  81. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  82. - test $ac_status = 0; }; then
  83. - pkg_cv_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "xinerama" 2>/dev/null`
  84. -else
  85. - pkg_failed=yes
  86. -fi
  87. - else
  88. - pkg_failed=untried
  89. -fi
  90. -if test -n "$XINERAMA_LIBS"; then
  91. - pkg_cv_XINERAMA_LIBS="$XINERAMA_LIBS"
  92. - elif test -n "$PKG_CONFIG"; then
  93. - if test -n "$PKG_CONFIG" && \
  94. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5
  95. - ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
  96. - ac_status=$?
  97. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  98. - test $ac_status = 0; }; then
  99. - pkg_cv_XINERAMA_LIBS=`$PKG_CONFIG --libs "xinerama" 2>/dev/null`
  100. -else
  101. - pkg_failed=yes
  102. -fi
  103. - else
  104. - pkg_failed=untried
  105. -fi
  106. -
  107. -
  108. -
  109. -if test $pkg_failed = yes; then
  110. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  111. -$as_echo "no" >&6; }
  112. -
  113. -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  114. - _pkg_short_errors_supported=yes
  115. -else
  116. - _pkg_short_errors_supported=no
  117. -fi
  118. - if test $_pkg_short_errors_supported = yes; then
  119. - XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xinerama" 2>&1`
  120. - else
  121. - XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors "xinerama" 2>&1`
  122. - fi
  123. - # Put the nasty error message in config.log where it belongs
  124. - echo "$XINERAMA_PKG_ERRORS" >&5
  125. -
  126. - XINERAMA_FOUND=no
  127. -elif test $pkg_failed = untried; then
  128. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  129. -$as_echo "no" >&6; }
  130. - XINERAMA_FOUND=no
  131. -else
  132. - XINERAMA_CFLAGS=$pkg_cv_XINERAMA_CFLAGS
  133. - XINERAMA_LIBS=$pkg_cv_XINERAMA_LIBS
  134. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  135. -$as_echo "yes" >&6; }
  136. - XINERAMA_FOUND=yes
  137. -
  138. -fi
  139. -if test "x${XINERAMA_FOUND}" = xno
  140. -then
  141. - as_fn_error $? "Could not find Xinerama - \
  142. - Try installing libXinerama-devel." "$LINENO" 5
  143. -fi
  144. -
  145. -
  146. -
  147. if test "x${ENABLE_XRENDER}" = "xyes"
  148. then
  149. @@ -11610,79 +11477,6 @@ fi
  150. -pkg_failed=no
  151. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTST" >&5
  152. -$as_echo_n "checking for XTST... " >&6; }
  153. -
  154. -if test -n "$XTST_CFLAGS"; then
  155. - pkg_cv_XTST_CFLAGS="$XTST_CFLAGS"
  156. - elif test -n "$PKG_CONFIG"; then
  157. - if test -n "$PKG_CONFIG" && \
  158. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5
  159. - ($PKG_CONFIG --exists --print-errors "xtst") 2>&5
  160. - ac_status=$?
  161. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  162. - test $ac_status = 0; }; then
  163. - pkg_cv_XTST_CFLAGS=`$PKG_CONFIG --cflags "xtst" 2>/dev/null`
  164. -else
  165. - pkg_failed=yes
  166. -fi
  167. - else
  168. - pkg_failed=untried
  169. -fi
  170. -if test -n "$XTST_LIBS"; then
  171. - pkg_cv_XTST_LIBS="$XTST_LIBS"
  172. - elif test -n "$PKG_CONFIG"; then
  173. - if test -n "$PKG_CONFIG" && \
  174. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5
  175. - ($PKG_CONFIG --exists --print-errors "xtst") 2>&5
  176. - ac_status=$?
  177. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  178. - test $ac_status = 0; }; then
  179. - pkg_cv_XTST_LIBS=`$PKG_CONFIG --libs "xtst" 2>/dev/null`
  180. -else
  181. - pkg_failed=yes
  182. -fi
  183. - else
  184. - pkg_failed=untried
  185. -fi
  186. -
  187. -
  188. -
  189. -if test $pkg_failed = yes; then
  190. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  191. -$as_echo "no" >&6; }
  192. -
  193. -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  194. - _pkg_short_errors_supported=yes
  195. -else
  196. - _pkg_short_errors_supported=no
  197. -fi
  198. - if test $_pkg_short_errors_supported = yes; then
  199. - XTST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xtst" 2>&1`
  200. - else
  201. - XTST_PKG_ERRORS=`$PKG_CONFIG --print-errors "xtst" 2>&1`
  202. - fi
  203. - # Put the nasty error message in config.log where it belongs
  204. - echo "$XTST_PKG_ERRORS" >&5
  205. -
  206. - XTST_FOUND=no
  207. -elif test $pkg_failed = untried; then
  208. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  209. -$as_echo "no" >&6; }
  210. - XTST_FOUND=no
  211. -else
  212. - XTST_CFLAGS=$pkg_cv_XTST_CFLAGS
  213. - XTST_LIBS=$pkg_cv_XTST_LIBS
  214. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  215. -$as_echo "yes" >&6; }
  216. - XTST_FOUND=yes
  217. -fi
  218. -if test "x${XTST_FOUND}" = xno
  219. -then
  220. - as_fn_error $? "Could not find Xtst - \
  221. - Try installing libXtst-devel." "$LINENO" 5
  222. -fi
  223. @@ -11764,85 +11558,6 @@ fi
  224. -if test "x${BUILD_OS_DIR}" = "xlinux"
  225. -then
  226. -
  227. -pkg_failed=no
  228. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
  229. -$as_echo_n "checking for ALSA... " >&6; }
  230. -
  231. -if test -n "$ALSA_CFLAGS"; then
  232. - pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
  233. - elif test -n "$PKG_CONFIG"; then
  234. - if test -n "$PKG_CONFIG" && \
  235. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
  236. - ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
  237. - ac_status=$?
  238. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  239. - test $ac_status = 0; }; then
  240. - pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
  241. -else
  242. - pkg_failed=yes
  243. -fi
  244. - else
  245. - pkg_failed=untried
  246. -fi
  247. -if test -n "$ALSA_LIBS"; then
  248. - pkg_cv_ALSA_LIBS="$ALSA_LIBS"
  249. - elif test -n "$PKG_CONFIG"; then
  250. - if test -n "$PKG_CONFIG" && \
  251. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
  252. - ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
  253. - ac_status=$?
  254. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  255. - test $ac_status = 0; }; then
  256. - pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
  257. -else
  258. - pkg_failed=yes
  259. -fi
  260. - else
  261. - pkg_failed=untried
  262. -fi
  263. -
  264. -
  265. -
  266. -if test $pkg_failed = yes; then
  267. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  268. -$as_echo "no" >&6; }
  269. -
  270. -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  271. - _pkg_short_errors_supported=yes
  272. -else
  273. - _pkg_short_errors_supported=no
  274. -fi
  275. - if test $_pkg_short_errors_supported = yes; then
  276. - ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "alsa" 2>&1`
  277. - else
  278. - ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "alsa" 2>&1`
  279. - fi
  280. - # Put the nasty error message in config.log where it belongs
  281. - echo "$ALSA_PKG_ERRORS" >&5
  282. -
  283. - ALSA_FOUND=no
  284. -elif test $pkg_failed = untried; then
  285. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  286. -$as_echo "no" >&6; }
  287. - ALSA_FOUND=no
  288. -else
  289. - ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
  290. - ALSA_LIBS=$pkg_cv_ALSA_LIBS
  291. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  292. -$as_echo "yes" >&6; }
  293. - ALSA_FOUND=yes
  294. -fi
  295. - if test "x${ALSA_FOUND}" = xno
  296. - then
  297. - as_fn_error $? "Could not find alsa - \
  298. - Try installing alsa-lib-devel." "$LINENO" 5
  299. - fi
  300. -
  301. -
  302. -fi
  303. if test "x${enable_pulse_java}" = "xyes"
  304. then