summaryrefslogtreecommitdiff
path: root/legacy/evas/m4
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2011-12-26 23:13:52 +0000
committerChristopher Michael <cpmichael1@comcast.net>2011-12-26 23:13:52 +0000
commit26fcca18b7a07ef16ae01ef5721bb7d081c365d2 (patch)
treefab16b66ad137693a13893ce894ee327df986ddf /legacy/evas/m4
parentb6b9744f192cdb0e82d613f4307cb7dfc7baa140 (diff)
Evas: Add Wayland EGL engine (still experimental).
SVN revision: 66541
Diffstat (limited to 'legacy/evas/m4')
-rw-r--r--legacy/evas/m4/evas_check_engine.m48
1 files changed, 5 insertions, 3 deletions
diff --git a/legacy/evas/m4/evas_check_engine.m4 b/legacy/evas/m4/evas_check_engine.m4
index 45a5871..e88022b 100644
--- a/legacy/evas/m4/evas_check_engine.m4
+++ b/legacy/evas/m4/evas_check_engine.m4
@@ -906,10 +906,10 @@ evas_engine_[]$1[]_cflags=""
906evas_engine_[]$1[]_libs="" 906evas_engine_[]$1[]_libs=""
907 907
908PKG_CHECK_MODULES([WAYLAND_EGL], 908PKG_CHECK_MODULES([WAYLAND_EGL],
909 [wayland-egl], 909 [egl >= 7.10 glesv2 gl wayland-client wayland-egl],
910 [ 910 [
911 have_dep="yes" 911 have_dep="yes"
912 requirement="wayland-egl" 912 requirement="egl >= 7.10 glesv2 gl wayland-client wayland-egl"
913 evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}" 913 evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}"
914 evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS}" 914 evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS}"
915 ],[ 915 ],[
@@ -918,16 +918,18 @@ PKG_CHECK_MODULES([WAYLAND_EGL],
918) 918)
919 919
920if test "x${have_dep}" = "xyes" ; then 920if test "x${have_dep}" = "xyes" ; then
921 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"])
921 AC_CHECK_HEADER([GLES2/gl2.h], 922 AC_CHECK_HEADER([GLES2/gl2.h],
922 [have_egl="yes"], 923 [have_egl="yes"],
923 [have_egl="no"], 924 [have_egl="no"],
924 [ 925 [
925#include <GLES2/gl2.h> 926#include <GLES2/gl2.h>
926#include <EGL/egl.h> 927#include <EGL/egl.h>
928#include <GL/gl.h>
927 ]) 929 ])
928 if test "x${have_egl}" = "xyes" ; then 930 if test "x${have_egl}" = "xyes" ; then
929 evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}" 931 evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}"
930 evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS} -lGLESv2 -lEGL" 932 evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
931 fi 933 fi
932fi 934fi
933 935