Fix build to work for lame people without wayland libraries :P

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-04-16 14:17:23 +01:00
parent 74270a6571
commit cfe5344578
1 changed files with 7 additions and 2 deletions

View File

@ -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])