summaryrefslogtreecommitdiff
path: root/legacy/evas/m4
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2011-12-14 18:44:20 +0000
committerChristopher Michael <cpmichael1@comcast.net>2011-12-14 18:44:20 +0000
commit0fccea0deef8157de5ab3a8ddc2ec1673fb84fc3 (patch)
tree3e295020b70386d193e064395b42efd9c348fb09 /legacy/evas/m4
parentb3d6859de53c6e078846f3c5e3da92933fac65b9 (diff)
Evas: Add a Wayland Shared Memory engine (similar to the buffer &
framebuffer engines). Add Evas framespace set/get functions. SVN revision: 66223
Diffstat (limited to 'legacy/evas/m4')
-rw-r--r--legacy/evas/m4/evas_check_engine.m474
1 files changed, 74 insertions, 0 deletions
diff --git a/legacy/evas/m4/evas_check_engine.m4 b/legacy/evas/m4/evas_check_engine.m4
index 5294100..45a5871 100644
--- a/legacy/evas/m4/evas_check_engine.m4
+++ b/legacy/evas/m4/evas_check_engine.m4
@@ -873,6 +873,80 @@ fi
873 873
874]) 874])
875 875
876
877dnl use: EVAS_CHECK_ENGINE_DEP_WAYLAND_SHM(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
878
879AC_DEFUN([EVAS_CHECK_ENGINE_DEP_WAYLAND_SHM],
880[
881
882have_dep="yes"
883evas_engine_[]$1[]_cflags=""
884evas_engine_[]$1[]_libs=""
885
886AC_SUBST([evas_engine_$1_cflags])
887AC_SUBST([evas_engine_$1_libs])
888
889if test "x${have_dep}" = "xyes" ; then
890 m4_default([$4], [:])
891else
892 m4_default([$5], [:])
893fi
894
895])
896
897
898dnl use: EVAS_CHECK_ENGINE_DEP_WAYLAND_EGL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
899
900AC_DEFUN([EVAS_CHECK_ENGINE_DEP_WAYLAND_EGL],
901[
902
903requirement=""
904have_dep="no"
905evas_engine_[]$1[]_cflags=""
906evas_engine_[]$1[]_libs=""
907
908PKG_CHECK_MODULES([WAYLAND_EGL],
909 [wayland-egl],
910 [
911 have_dep="yes"
912 requirement="wayland-egl"
913 evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}"
914 evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS}"
915 ],[
916 have_dep="no"
917 ]
918)
919
920if test "x${have_dep}" = "xyes" ; then
921 AC_CHECK_HEADER([GLES2/gl2.h],
922 [have_egl="yes"],
923 [have_egl="no"],
924 [
925#include <GLES2/gl2.h>
926#include <EGL/egl.h>
927 ])
928 if test "x${have_egl}" = "xyes" ; then
929 evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}"
930 evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS} -lGLESv2 -lEGL"
931 fi
932fi
933
934AC_SUBST([evas_engine_$1_cflags])
935AC_SUBST([evas_engine_$1_libs])
936
937if test "x$3" = "xstatic" ; then
938 requirement_evas="${requirement} ${requirement_evas}"
939fi
940
941if test "x${have_dep}" = "xyes" ; then
942 m4_default([$4], [:])
943else
944 m4_default([$5], [:])
945fi
946
947])
948
949
876dnl use: EVAS_CHECK_ENGINE(engine, want_engine, simple, description) 950dnl use: EVAS_CHECK_ENGINE(engine, want_engine, simple, description)
877 951
878 952