summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMun, Gwan-gyeong <kk.moon@samsung.com>2017-04-10 19:35:07 +0900
committerSangjin Lee <lsj119@samsung.com>2017-07-03 15:12:42 +0900
commitf203c3a7b2673f7705dc5faf567498b7dacf8980 (patch)
tree4d415a7961e5357115621408049044626b66c964
parent3f02ffec5b74037cf10697efab55b49032b65c20 (diff)
downloadmesa-f203c3a7b2673f7705dc5faf567498b7dacf8980.tar.gz
mesa-f203c3a7b2673f7705dc5faf567498b7dacf8980.tar.bz2
mesa-f203c3a7b2673f7705dc5faf567498b7dacf8980.zip
configure.ac: Add tizen to supported egl platforms
It checks tpl-egl/libtbm/libtdm packages and defines HAVE_EGL_PLATFORM_TIZEN. This feature is enabled by the config option '--with-egl-platforms=tizen' Change-Id: I766d145a14576c2b8c85769031086505880fd720 Signed-off-by: Mun, Gwan-gyeong <kk.moon@samsung.com>
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e42fcfff775..25203a3d49a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2215,6 +2215,10 @@ for plat in $egl_platforms; do
PKG_CHECK_MODULES([ANDROID], [cutils hardware sync])
;;
+ tizen)
+ PKG_CHECK_MODULES([TIZEN], [tpl-egl libtbm libtdm])
+ ;;
+
*)
AC_MSG_ERROR([EGL platform '$plat' does not exist])
;;
@@ -2241,6 +2245,7 @@ AM_CONDITIONAL(HAVE_PLATFORM_WAYLAND, echo "$egl_platforms" | grep -q 'wayland')
AM_CONDITIONAL(HAVE_EGL_PLATFORM_DRM, echo "$egl_platforms" | grep -q 'drm')
AM_CONDITIONAL(HAVE_EGL_PLATFORM_SURFACELESS, echo "$egl_platforms" | grep -q 'surfaceless')
AM_CONDITIONAL(HAVE_EGL_PLATFORM_ANDROID, echo "$egl_platforms" | grep -q 'android')
+AM_CONDITIONAL(HAVE_EGL_PLATFORM_TIZEN, echo "$egl_platforms" | grep -q 'tizen')
AC_SUBST([EGL_NATIVE_PLATFORM])
AC_SUBST([EGL_CFLAGS])