devilhorns pushed a commit to branch master.

commit 7ec2804ef656e553c5b13bdd2c0398db1d03e475
Author: Chris Michael <[email protected]>
Date:   Tue Apr 9 09:44:24 2013 +0100

    Add wayland client egl support to build infrastructure.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 configure.ac | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/configure.ac b/configure.ac
index c2d11ed..57a17fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -840,6 +840,28 @@ fi
 
 AM_CONDITIONAL([HAVE_WAYLAND_CLIENTS], [test "x${have_wayland_clients}" = 
"xyes"])
 
+if test "x${have_wayland_clients}" = "xyes"; then
+  AC_ARG_ENABLE([wayland-egl],
+    AS_HELP_STRING([--enable-wayland-egl],[enable wayland clients to render 
using EGL @<:@default=disabled@:>@]),
+    [e_cv_want_wayland_egl=$enableval],
+    [e_cv_want_wayland_egl=no])
+
+  AC_MSG_CHECKING([whether wayland client EGL support is enabled])
+  AC_MSG_RESULT([${e_cv_want_wayland_egl}])
+
+  if test "x$e_cv_want_wayland_egl" != "xno";then
+    PKG_CHECK_MODULES([WAYLAND_EGL], [egl >= 7.10],
+      [
+        have_wayland_egl=yes
+        AC_DEFINE_UNQUOTED([HAVE_WAYLAND_EGL],[1],[enable wayland client EGL 
support])
+      ],
+      [have_wayland_egl=no])
+  else
+    have_wayland_egl=no
+  fi
+
+  AM_CONDITIONAL([HAVE_WAYLAND_EGL], [test "x${have_wayland_egl}" = "xyes"])
+fi
 
 AC_E_OPTIONAL_MODULE([ibar], true)
 AC_E_OPTIONAL_MODULE([clock], true)

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to