From 13509d6dcc1107da737bb0a604794a5c04027330 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 11 Mar 2014 11:22:51 +0000 Subject: [PATCH] @bugfix: Fix configure.ac to define HAVE_WAYLAND_ONLY Signed-off-by: Chris Michael --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a388a07d3..d43c7a0af 100644 --- a/configure.ac +++ b/configure.ac @@ -819,11 +819,14 @@ if test "x${have_wayland}" = "xyes"; then else have_wayland_egl=no fi + if test "x${e_cv_want_wayland_only}" != "xno"; then + have_wayland_only=yes + AC_DEFINE_UNQUOTED([HAVE_WAYLAND_ONLY],[1],[enable wayland-only version of enlightenment]) + fi fi AM_CONDITIONAL([HAVE_WAYLAND], [test "x${have_wayland}" = "xyes"]) -AM_CONDITIONAL([HAVE_WAYLAND_ONLY], - [test "x${have_wayland}" = "xyes" && test "x${e_cv_want_wayland_only}" = "xyes"]) +AM_CONDITIONAL([HAVE_WAYLAND_ONLY], [test "x${have_wayland_only}" = "xyes"]) AM_CONDITIONAL([HAVE_WAYLAND_CLIENTS], [test "x${have_wayland_clients}" = "xyes"]) AM_CONDITIONAL([HAVE_WAYLAND_EGL], [test "x${have_wayland_egl}" = "xyes"])