devilhorns pushed a commit to branch master.

commit cfe534457858996b18be90dd866451edf22b4712
Author: Chris Michael <[email protected]>
Date:   Tue Apr 16 14:17:23 2013 +0100

    Fix build to work for lame people without wayland libraries :P
    
    Signed-off-by: Chris Michael <[email protected]>
---
 configure.ac | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index f987e6b..0f0f0ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -841,6 +841,7 @@ fi
 AM_CONDITIONAL([HAVE_WAYLAND_CLIENTS], [test "x${have_wayland_clients}" = 
"xyes"])
 
 AM_CONDITIONAL([HAVE_WAYLAND_EGL], false)
+have_wayland_egl=no
 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@:>@]),
@@ -860,12 +861,16 @@ if test "x${have_wayland_clients}" = "xyes"; then
   else
     have_wayland_egl=no
   fi
-
-  AM_CONDITIONAL([HAVE_WAYLAND_EGL], [test "x${have_wayland_egl}" = "xyes"])
 fi
 
+AM_CONDITIONAL([HAVE_WAYLAND_EGL], [test "x${have_wayland_egl}" = "xyes"])
+
 AM_CONDITIONAL(HAVE_WL_DESKTOP_SHELL, false)
+AC_SUBST(HAVE_WL_DESKTOP_SHELL)
 AM_CONDITIONAL(USE_MODULE_WL_DESKTOP_SHELL, false)
+AC_SUBST(USE_MODULE_WL_DESKTOP_SHELL)
+
+AM_CONDITIONAL(WL_DESKTOP_SHELL, false)
 define([CHECK_MODULE_WL_DESKTOP_SHELL],
 [
   AC_E_CHECK_PKG(WL_DESKTOP_SHELL, [ ecore >= $efl_version eina >= 
$efl_version ], [], [HAVE_WL_DESKTOP_SHELL=false])

-- 

------------------------------------------------------------------------------
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