summaryrefslogtreecommitdiff
path: root/legacy/evas/m4
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-04-05 14:31:49 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-04-05 14:31:49 +0000
commitdd38ffb274330bfe94094b223e033be4deb69651 (patch)
treecb58d7167915e3bf998bc8c6258c2b647b5e6b79 /legacy/evas/m4
parentb0e45e04bce14f2856bf33b3c2430a2bb5d7520c (diff)
evas: remove useless check.
SVN revision: 58365
Diffstat (limited to 'legacy/evas/m4')
-rw-r--r--legacy/evas/m4/evas_check_engine.m487
1 files changed, 0 insertions, 87 deletions
diff --git a/legacy/evas/m4/evas_check_engine.m4 b/legacy/evas/m4/evas_check_engine.m4
index 10e3b74..b1f60c7 100644
--- a/legacy/evas/m4/evas_check_engine.m4
+++ b/legacy/evas/m4/evas_check_engine.m4
@@ -64,56 +64,6 @@ fi
64 64
65]) 65])
66 66
67dnl use: EVAS_CHECK_ENGINE_DEP_XRENDER_X11(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
68
69AC_DEFUN([EVAS_CHECK_ENGINE_DEP_XRENDER_X11],
70[
71
72evas_engine_[]$1[]_cflags=""
73evas_engine_[]$1[]_libs=""
74
75AC_PATH_X
76AC_PATH_XTRA
77
78AC_CHECK_HEADERS([X11/Xlib.h X11/extensions/Xrender.h],
79 [have_dep="yes"],
80 [have_dep="no"; break;])
81
82if test "x${have_dep}" = "xyes" ; then
83 AC_CHECK_LIB([X11], [XCreateImage], [have_dep="yes"], [have_dep="no"])
84fi
85
86if test "x${have_dep}" = "xyes" ; then
87 AC_CHECK_LIB([Xext], [XShmCreateImage], [have_dep="yes"], [have_dep="no"])
88fi
89
90if test "x${have_dep}" = "xyes" ; then
91 AC_CHECK_LIB([Xrender], [XRenderCreatePicture], [have_dep="yes"], [have_dep="no"])
92fi
93
94if test "x${have_dep}" = "xyes" ; then
95 if test "x$2" = "xyes" ; then
96 x_libs="${x_libs} -lX11 -lXext"
97 else
98 x_dir=${x_dir:-/usr/X11R6}
99 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
100 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
101 fi
102 evas_engine_[]$1[]_cflags="${x_cflags}"
103 evas_engine_[]$1[]_libs="${x_libs} -lXrender"
104fi
105
106AC_SUBST([evas_engine_$1_cflags])
107AC_SUBST([evas_engine_$1_libs])
108
109if test "x${have_dep}" = "xyes" ; then
110 m4_default([$4], [:])
111else
112 m4_default([$5], [:])
113fi
114
115])
116
117dnl use: EVAS_CHECK_ENGINE_DEP_GL_X11(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 67dnl use: EVAS_CHECK_ENGINE_DEP_GL_X11(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
118 68
119AC_DEFUN([EVAS_CHECK_ENGINE_DEP_GL_X11], 69AC_DEFUN([EVAS_CHECK_ENGINE_DEP_GL_X11],
@@ -257,43 +207,6 @@ fi
257 207
258]) 208])
259 209
260dnl use: EVAS_CHECK_ENGINE_DEP_XRENDER_XCB(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
261
262AC_DEFUN([EVAS_CHECK_ENGINE_DEP_XRENDER_XCB],
263[
264
265requirement=""
266have_dep="no"
267evas_engine_[]$1[]_cflags=""
268evas_engine_[]$1[]_libs=""
269
270PKG_CHECK_MODULES([XCBRENDER],
271 [xcb xcb-shm xcb-render xcb-image >= 0.2.1 pixman-1],
272 [
273 have_dep="yes"
274 requirement="xcb xcb-shm xcb-render xcb-image pixman-1"
275 evas_engine_[]$1[]_cflags="${XCBRENDER_CFLAGS}"
276 evas_engine_[]$1[]_libs="${XCBRENDER_LIBS}"
277 ],[
278 have_dep="no"
279 ]
280)
281
282AC_SUBST([evas_engine_$1_cflags])
283AC_SUBST([evas_engine_$1_libs])
284
285if test "x$3" = "xstatic" ; then
286 requirement_evas="${requirement} ${requirement_evas}"
287fi
288
289if test "x${have_dep}" = "xyes" ; then
290 m4_default([$4], [:])
291else
292 m4_default([$5], [:])
293fi
294
295])
296
297dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_GDI(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 210dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_GDI(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
298 211
299AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_GDI], 212AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_GDI],