OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
3.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../evas/evas-1.0.0.beta-X11-check_engine.patch
  5. # Copyright (C) 2010 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Description: Fix X11 related configure test by using the X11 library path
  17. --- evas-1.0.0.beta/m4/evas_check_engine.m4.orig 2010-10-04 14:21:05.496000908 +0200
  18. +++ evas-1.0.0.beta/m4/evas_check_engine.m4 2010-10-04 14:59:09.580000847 +0200
  19. @@ -34,11 +34,11 @@ AC_PATH_XTRA
  20. AC_CHECK_HEADER([X11/X.h], [have_dep="yes"])
  21. if test "x${have_dep}" = "xyes" ; then
  22. - AC_CHECK_LIB([X11], [XCreateImage], [have_dep="yes"], [have_dep="no"])
  23. + AC_CHECK_LIB([X11], [XCreateImage], [have_dep="yes"], [have_dep="no"], -L${x_libraries})
  24. fi
  25. if test "x${have_dep}" = "xyes" ; then
  26. - AC_CHECK_LIB([Xext], [XShmCreateImage], [have_dep="yes"], [have_dep="no"])
  27. + AC_CHECK_LIB([Xext], [XShmCreateImage], [have_dep="yes"], [have_dep="no"], -L${x_libraries})
  28. fi
  29. if test "x${have_dep}" = "xyes" ; then
  30. @@ -80,15 +80,15 @@ AC_CHECK_HEADERS([X11/X.h X11/extensions
  31. [have_dep="no"])
  32. if test "x${have_dep}" = "xyes" ; then
  33. - AC_CHECK_LIB([X11], [XCreateImage], [have_dep="yes"], [have_dep="no"])
  34. + AC_CHECK_LIB([X11], [XCreateImage], [have_dep="yes"], [have_dep="no"], -L${x_libraries})
  35. fi
  36. if test "x${have_dep}" = "xyes" ; then
  37. - AC_CHECK_LIB([Xext], [XShmCreateImage], [have_dep="yes"], [have_dep="no"])
  38. + AC_CHECK_LIB([Xext], [XShmCreateImage], [have_dep="yes"], [have_dep="no"], -L${x_libraries})
  39. fi
  40. if test "x${have_dep}" = "xyes" ; then
  41. - AC_CHECK_LIB([Xrender], [XRenderCreatePicture], [have_dep="yes"], [have_dep="no"])
  42. + AC_CHECK_LIB([Xrender], [XRenderCreatePicture], [have_dep="yes"], [have_dep="no"], -L${x_libraries})
  43. fi
  44. if test "x${have_dep}" = "xyes" ; then
  45. @@ -130,7 +130,7 @@ AC_CHECK_HEADERS([GL/gl.h GL/glx.h X11/X
  46. [have_dep="no"])
  47. if test "x${have_dep}" = "xyes" ; then
  48. - AC_CHECK_LIB([X11], [XCreateColormap], [have_dep="yes"], [have_dep="no"])
  49. + AC_CHECK_LIB([X11], [XCreateColormap], [have_dep="yes"], [have_dep="no"], -L${x_libraries})
  50. fi
  51. if test "x${have_dep}" = "xyes" ; then
  52. @@ -709,11 +709,11 @@ AC_PATH_XTRA
  53. AC_CHECK_HEADER([X11/X.h], [have_dep="yes"])
  54. if test "x${have_dep}" = "xyes" ; then
  55. - AC_CHECK_LIB([X11], [XCreateImage], [have_dep="yes"], [have_dep="no"])
  56. + AC_CHECK_LIB([X11], [XCreateImage], [have_dep="yes"], [have_dep="no"], -L${x_libraries})
  57. fi
  58. if test "x${have_dep}" = "xyes" ; then
  59. - AC_CHECK_LIB([Xext], [XShmCreateImage], [have_dep="yes"], [have_dep="no"])
  60. + AC_CHECK_LIB([Xext], [XShmCreateImage], [have_dep="yes"], [have_dep="no"], -L${x_libraries})
  61. fi
  62. if test "x${have_dep}" = "xyes" ; then