summaryrefslogtreecommitdiff
path: root/legacy/evas/m4/evas_check_engine.m4
diff options
context:
space:
mode:
authorAlexander Kerner <alexander.kerner@googlemail.com>2010-07-28 00:16:06 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-07-28 00:16:06 +0000
commit0ec2a33a22ad47780f1c98dd950d766264feb902 (patch)
treed423f55ae77b4866f72459459f7b177db7397b04 /legacy/evas/m4/evas_check_engine.m4
parentd87ed6ac2261ddbc9a5da186f715862da9d9bec6 (diff)
From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine Hi all, I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp engine. It would be nice if someone could review the code and maybe commit into svn. The patches against evas and ecore are attached. SVN revision: 50560
Diffstat (limited to '')
-rw-r--r--legacy/evas/m4/evas_check_engine.m440
1 files changed, 40 insertions, 0 deletions
diff --git a/legacy/evas/m4/evas_check_engine.m4 b/legacy/evas/m4/evas_check_engine.m4
index 04549512b0..54ce5d2211 100644
--- a/legacy/evas/m4/evas_check_engine.m4
+++ b/legacy/evas/m4/evas_check_engine.m4
@@ -248,6 +248,8 @@ PKG_CHECK_MODULES([XCB],
248 requirement="xcb xcb-shm xcb-image pixman-1" 248 requirement="xcb xcb-shm xcb-image pixman-1"
249 evas_engine_[]$1[]_cflags="${XCB_CFLAGS}" 249 evas_engine_[]$1[]_cflags="${XCB_CFLAGS}"
250 evas_engine_[]$1[]_libs="${XCB_LIBS}" 250 evas_engine_[]$1[]_libs="${XCB_LIBS}"
251 ],[
252 have_dep="no"
251 ] 253 ]
252) 254)
253 255
@@ -283,6 +285,8 @@ PKG_CHECK_MODULES([XCBRENDER],
283 requirement="xcb xcb-shm xcb-render xcb-image pixman-1" 285 requirement="xcb xcb-shm xcb-render xcb-image pixman-1"
284 evas_engine_[]$1[]_cflags="${XCBRENDER_CFLAGS}" 286 evas_engine_[]$1[]_cflags="${XCBRENDER_CFLAGS}"
285 evas_engine_[]$1[]_libs="${XCBRENDER_LIBS}" 287 evas_engine_[]$1[]_libs="${XCBRENDER_LIBS}"
288 ],[
289 have_dep="no"
286 ] 290 ]
287) 291)
288 292
@@ -655,6 +659,42 @@ fi
655 659
656]) 660])
657 661
662dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_8_X11(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
663
664AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_8_X11],
665[
666
667have_dep="no"
668evas_engine_[]$1[]_cflags=""
669evas_engine_[]$1[]_libs=""
670
671PKG_CHECK_MODULES([XCB],
672 [xcb xcb-shm xcb-image >= 0.2.1 pixman-1],
673 [
674 have_dep="yes"
675 requirement="xcb xcb-shm xcb-image pixman-1"
676 evas_engine_[]$1[]_cflags="${XCB_CFLAGS}"
677 evas_engine_[]$1[]_libs="${XCB_LIBS}"
678 ],[
679 have_dep="no"
680 ]
681)
682
683AC_SUBST([evas_engine_$1_cflags])
684AC_SUBST([evas_engine_$1_libs])
685
686if test "x$3" = "xstatic" ; then
687 requirement_evas="${requirement} ${requirement_evas}"
688fi
689
690if test "x${have_dep}" = "xyes" ; then
691 m4_default([$4], [:])
692else
693 m4_default([$5], [:])
694fi
695
696])
697
658dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_X11(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 698dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_X11(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
659AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_X11], 699AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_X11],
660[ 700[