patch-icedtea6-1_10_configure 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  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-03-28 15:30:08.791808629 +0200
  3. @@ -10805,22 +10805,6 @@ fi
  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. for ac_header in X11/X.h
  21. do :
  22. @@ -10879,46 +10863,6 @@ else
  23. as_fn_error $? "\"libjpeg not found - try installing libjpeg-devel\"" "$LINENO" 5
  24. fi
  25. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgif" >&5
  26. -$as_echo_n "checking for main in -lgif... " >&6; }
  27. -if ${ac_cv_lib_gif_main+:} false; then :
  28. - $as_echo_n "(cached) " >&6
  29. -else
  30. - ac_check_lib_save_LIBS=$LIBS
  31. -LIBS="-lgif $LIBS"
  32. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33. -/* end confdefs.h. */
  34. -
  35. -
  36. -int
  37. -main ()
  38. -{
  39. -return main ();
  40. - ;
  41. - return 0;
  42. -}
  43. -_ACEOF
  44. -if ac_fn_c_try_link "$LINENO"; then :
  45. - ac_cv_lib_gif_main=yes
  46. -else
  47. - ac_cv_lib_gif_main=no
  48. -fi
  49. -rm -f core conftest.err conftest.$ac_objext \
  50. - conftest$ac_exeext conftest.$ac_ext
  51. -LIBS=$ac_check_lib_save_LIBS
  52. -fi
  53. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_main" >&5
  54. -$as_echo "$ac_cv_lib_gif_main" >&6; }
  55. -if test "x$ac_cv_lib_gif_main" = xyes; then :
  56. - cat >>confdefs.h <<_ACEOF
  57. -#define HAVE_LIBGIF 1
  58. -_ACEOF
  59. -
  60. - LIBS="-lgif $LIBS"
  61. -
  62. -else
  63. - as_fn_error $? "\"giflib not found - try installing giflib-devel\"" "$LINENO" 5
  64. -fi
  65. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5
  66. $as_echo_n "checking for main in -lz... " >&6; }
  67. @@ -11040,156 +10984,9 @@ fi
  68. -pkg_failed=no
  69. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XT" >&5
  70. -$as_echo_n "checking for XT... " >&6; }
  71. -
  72. -if test -n "$XT_CFLAGS"; then
  73. - pkg_cv_XT_CFLAGS="$XT_CFLAGS"
  74. - elif test -n "$PKG_CONFIG"; then
  75. - if test -n "$PKG_CONFIG" && \
  76. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
  77. - ($PKG_CONFIG --exists --print-errors "xt") 2>&5
  78. - ac_status=$?
  79. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  80. - test $ac_status = 0; }; then
  81. - pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
  82. -else
  83. - pkg_failed=yes
  84. -fi
  85. - else
  86. - pkg_failed=untried
  87. -fi
  88. -if test -n "$XT_LIBS"; then
  89. - pkg_cv_XT_LIBS="$XT_LIBS"
  90. - elif test -n "$PKG_CONFIG"; then
  91. - if test -n "$PKG_CONFIG" && \
  92. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
  93. - ($PKG_CONFIG --exists --print-errors "xt") 2>&5
  94. - ac_status=$?
  95. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  96. - test $ac_status = 0; }; then
  97. - pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
  98. -else
  99. - pkg_failed=yes
  100. -fi
  101. - else
  102. - pkg_failed=untried
  103. -fi
  104. -
  105. -
  106. -
  107. -if test $pkg_failed = yes; then
  108. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  109. -$as_echo "no" >&6; }
  110. -
  111. -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  112. - _pkg_short_errors_supported=yes
  113. -else
  114. - _pkg_short_errors_supported=no
  115. -fi
  116. - if test $_pkg_short_errors_supported = yes; then
  117. - XT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
  118. - else
  119. - XT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
  120. - fi
  121. - # Put the nasty error message in config.log where it belongs
  122. - echo "$XT_PKG_ERRORS" >&5
  123. -
  124. - XT_FOUND=no
  125. -elif test $pkg_failed = untried; then
  126. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  127. -$as_echo "no" >&6; }
  128. - XT_FOUND=no
  129. -else
  130. - XT_CFLAGS=$pkg_cv_XT_CFLAGS
  131. - XT_LIBS=$pkg_cv_XT_LIBS
  132. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  133. -$as_echo "yes" >&6; }
  134. - XT_FOUND=yes
  135. -fi
  136. -if test "x${XT_FOUND}" = xno
  137. -then
  138. - as_fn_error $? "Could not find Xt - \
  139. - Try installing libXt-devel." "$LINENO" 5
  140. -fi
  141. -
  142. -
  143. -
  144. -
  145. -pkg_failed=no
  146. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XP" >&5
  147. -$as_echo_n "checking for XP... " >&6; }
  148. -
  149. -if test -n "$XP_CFLAGS"; then
  150. - pkg_cv_XP_CFLAGS="$XP_CFLAGS"
  151. - elif test -n "$PKG_CONFIG"; then
  152. - if test -n "$PKG_CONFIG" && \
  153. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xp\""; } >&5
  154. - ($PKG_CONFIG --exists --print-errors "xp") 2>&5
  155. - ac_status=$?
  156. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  157. - test $ac_status = 0; }; then
  158. - pkg_cv_XP_CFLAGS=`$PKG_CONFIG --cflags "xp" 2>/dev/null`
  159. -else
  160. - pkg_failed=yes
  161. -fi
  162. - else
  163. - pkg_failed=untried
  164. -fi
  165. -if test -n "$XP_LIBS"; then
  166. - pkg_cv_XP_LIBS="$XP_LIBS"
  167. - elif test -n "$PKG_CONFIG"; then
  168. - if test -n "$PKG_CONFIG" && \
  169. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xp\""; } >&5
  170. - ($PKG_CONFIG --exists --print-errors "xp") 2>&5
  171. - ac_status=$?
  172. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  173. - test $ac_status = 0; }; then
  174. - pkg_cv_XP_LIBS=`$PKG_CONFIG --libs "xp" 2>/dev/null`
  175. -else
  176. - pkg_failed=yes
  177. -fi
  178. - else
  179. - pkg_failed=untried
  180. -fi
  181. -
  182. -
  183. -if test $pkg_failed = yes; then
  184. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  185. -$as_echo "no" >&6; }
  186. -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  187. - _pkg_short_errors_supported=yes
  188. -else
  189. - _pkg_short_errors_supported=no
  190. -fi
  191. - if test $_pkg_short_errors_supported = yes; then
  192. - XP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xp" 2>&1`
  193. - else
  194. - XP_PKG_ERRORS=`$PKG_CONFIG --print-errors "xp" 2>&1`
  195. - fi
  196. - # Put the nasty error message in config.log where it belongs
  197. - echo "$XP_PKG_ERRORS" >&5
  198. - XP_FOUND=no
  199. -elif test $pkg_failed = untried; then
  200. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  201. -$as_echo "no" >&6; }
  202. - XP_FOUND=no
  203. -else
  204. - XP_CFLAGS=$pkg_cv_XP_CFLAGS
  205. - XP_LIBS=$pkg_cv_XP_LIBS
  206. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  207. -$as_echo "yes" >&6; }
  208. - XP_FOUND=yes
  209. -fi
  210. -if test "x${XP_FOUND}" = xno
  211. -then
  212. - as_fn_error $? "Could not find Xp - \
  213. - Try installing libXp-devel." "$LINENO" 5
  214. -fi
  215. @@ -11271,83 +11068,6 @@ fi
  216. -pkg_failed=no
  217. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINERAMA" >&5
  218. -$as_echo_n "checking for XINERAMA... " >&6; }
  219. -
  220. -if test -n "$XINERAMA_CFLAGS"; then
  221. - pkg_cv_XINERAMA_CFLAGS="$XINERAMA_CFLAGS"
  222. - elif test -n "$PKG_CONFIG"; then
  223. - if test -n "$PKG_CONFIG" && \
  224. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5
  225. - ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
  226. - ac_status=$?
  227. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  228. - test $ac_status = 0; }; then
  229. - pkg_cv_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "xinerama" 2>/dev/null`
  230. -else
  231. - pkg_failed=yes
  232. -fi
  233. - else
  234. - pkg_failed=untried
  235. -fi
  236. -if test -n "$XINERAMA_LIBS"; then
  237. - pkg_cv_XINERAMA_LIBS="$XINERAMA_LIBS"
  238. - elif test -n "$PKG_CONFIG"; then
  239. - if test -n "$PKG_CONFIG" && \
  240. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5
  241. - ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
  242. - ac_status=$?
  243. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  244. - test $ac_status = 0; }; then
  245. - pkg_cv_XINERAMA_LIBS=`$PKG_CONFIG --libs "xinerama" 2>/dev/null`
  246. -else
  247. - pkg_failed=yes
  248. -fi
  249. - else
  250. - pkg_failed=untried
  251. -fi
  252. -
  253. -
  254. -
  255. -if test $pkg_failed = yes; then
  256. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  257. -$as_echo "no" >&6; }
  258. -
  259. -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  260. - _pkg_short_errors_supported=yes
  261. -else
  262. - _pkg_short_errors_supported=no
  263. -fi
  264. - if test $_pkg_short_errors_supported = yes; then
  265. - XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xinerama" 2>&1`
  266. - else
  267. - XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors "xinerama" 2>&1`
  268. - fi
  269. - # Put the nasty error message in config.log where it belongs
  270. - echo "$XINERAMA_PKG_ERRORS" >&5
  271. -
  272. - XINERAMA_FOUND=no
  273. -elif test $pkg_failed = untried; then
  274. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  275. -$as_echo "no" >&6; }
  276. - XINERAMA_FOUND=no
  277. -else
  278. - XINERAMA_CFLAGS=$pkg_cv_XINERAMA_CFLAGS
  279. - XINERAMA_LIBS=$pkg_cv_XINERAMA_LIBS
  280. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  281. -$as_echo "yes" >&6; }
  282. - XINERAMA_FOUND=yes
  283. -
  284. -fi
  285. -if test "x${XINERAMA_FOUND}" = xno
  286. -then
  287. - as_fn_error $? "Could not find Xinerama - \
  288. - Try installing libXinerama-devel." "$LINENO" 5
  289. -fi
  290. -
  291. -
  292. -
  293. if test "x${ENABLE_XRENDER}" = "xyes"
  294. then
  295. @@ -11610,79 +11330,6 @@ fi
  296. -pkg_failed=no
  297. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTST" >&5
  298. -$as_echo_n "checking for XTST... " >&6; }
  299. -
  300. -if test -n "$XTST_CFLAGS"; then
  301. - pkg_cv_XTST_CFLAGS="$XTST_CFLAGS"
  302. - elif test -n "$PKG_CONFIG"; then
  303. - if test -n "$PKG_CONFIG" && \
  304. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5
  305. - ($PKG_CONFIG --exists --print-errors "xtst") 2>&5
  306. - ac_status=$?
  307. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  308. - test $ac_status = 0; }; then
  309. - pkg_cv_XTST_CFLAGS=`$PKG_CONFIG --cflags "xtst" 2>/dev/null`
  310. -else
  311. - pkg_failed=yes
  312. -fi
  313. - else
  314. - pkg_failed=untried
  315. -fi
  316. -if test -n "$XTST_LIBS"; then
  317. - pkg_cv_XTST_LIBS="$XTST_LIBS"
  318. - elif test -n "$PKG_CONFIG"; then
  319. - if test -n "$PKG_CONFIG" && \
  320. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5
  321. - ($PKG_CONFIG --exists --print-errors "xtst") 2>&5
  322. - ac_status=$?
  323. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  324. - test $ac_status = 0; }; then
  325. - pkg_cv_XTST_LIBS=`$PKG_CONFIG --libs "xtst" 2>/dev/null`
  326. -else
  327. - pkg_failed=yes
  328. -fi
  329. - else
  330. - pkg_failed=untried
  331. -fi
  332. -
  333. -
  334. -
  335. -if test $pkg_failed = yes; then
  336. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  337. -$as_echo "no" >&6; }
  338. -
  339. -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  340. - _pkg_short_errors_supported=yes
  341. -else
  342. - _pkg_short_errors_supported=no
  343. -fi
  344. - if test $_pkg_short_errors_supported = yes; then
  345. - XTST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xtst" 2>&1`
  346. - else
  347. - XTST_PKG_ERRORS=`$PKG_CONFIG --print-errors "xtst" 2>&1`
  348. - fi
  349. - # Put the nasty error message in config.log where it belongs
  350. - echo "$XTST_PKG_ERRORS" >&5
  351. -
  352. - XTST_FOUND=no
  353. -elif test $pkg_failed = untried; then
  354. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  355. -$as_echo "no" >&6; }
  356. - XTST_FOUND=no
  357. -else
  358. - XTST_CFLAGS=$pkg_cv_XTST_CFLAGS
  359. - XTST_LIBS=$pkg_cv_XTST_LIBS
  360. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  361. -$as_echo "yes" >&6; }
  362. - XTST_FOUND=yes
  363. -fi
  364. -if test "x${XTST_FOUND}" = xno
  365. -then
  366. - as_fn_error $? "Could not find Xtst - \
  367. - Try installing libXtst-devel." "$LINENO" 5
  368. -fi
  369. @@ -11764,85 +11411,6 @@ fi
  370. -if test "x${BUILD_OS_DIR}" = "xlinux"
  371. -then
  372. -
  373. -pkg_failed=no
  374. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
  375. -$as_echo_n "checking for ALSA... " >&6; }
  376. -
  377. -if test -n "$ALSA_CFLAGS"; then
  378. - pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
  379. - elif test -n "$PKG_CONFIG"; then
  380. - if test -n "$PKG_CONFIG" && \
  381. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
  382. - ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
  383. - ac_status=$?
  384. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  385. - test $ac_status = 0; }; then
  386. - pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
  387. -else
  388. - pkg_failed=yes
  389. -fi
  390. - else
  391. - pkg_failed=untried
  392. -fi
  393. -if test -n "$ALSA_LIBS"; then
  394. - pkg_cv_ALSA_LIBS="$ALSA_LIBS"
  395. - elif test -n "$PKG_CONFIG"; then
  396. - if test -n "$PKG_CONFIG" && \
  397. - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
  398. - ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
  399. - ac_status=$?
  400. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  401. - test $ac_status = 0; }; then
  402. - pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
  403. -else
  404. - pkg_failed=yes
  405. -fi
  406. - else
  407. - pkg_failed=untried
  408. -fi
  409. -
  410. -
  411. -
  412. -if test $pkg_failed = yes; then
  413. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  414. -$as_echo "no" >&6; }
  415. -
  416. -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  417. - _pkg_short_errors_supported=yes
  418. -else
  419. - _pkg_short_errors_supported=no
  420. -fi
  421. - if test $_pkg_short_errors_supported = yes; then
  422. - ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "alsa" 2>&1`
  423. - else
  424. - ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "alsa" 2>&1`
  425. - fi
  426. - # Put the nasty error message in config.log where it belongs
  427. - echo "$ALSA_PKG_ERRORS" >&5
  428. -
  429. - ALSA_FOUND=no
  430. -elif test $pkg_failed = untried; then
  431. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  432. -$as_echo "no" >&6; }
  433. - ALSA_FOUND=no
  434. -else
  435. - ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
  436. - ALSA_LIBS=$pkg_cv_ALSA_LIBS
  437. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  438. -$as_echo "yes" >&6; }
  439. - ALSA_FOUND=yes
  440. -fi
  441. - if test "x${ALSA_FOUND}" = xno
  442. - then
  443. - as_fn_error $? "Could not find alsa - \
  444. - Try installing alsa-lib-devel." "$LINENO" 5
  445. - fi
  446. -
  447. -
  448. -fi
  449. if test "x${enable_pulse_java}" = "xyes"
  450. then