From 50df06777dbdb431f876a3c971622b0a3646baff Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 29 Jun 2015 13:40:51 -0400 Subject: [PATCH] fix wl-x11 configure checks --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 05900d407..dbe0115ea 100644 --- a/configure.ac +++ b/configure.ac @@ -818,10 +818,10 @@ fi define([CHECK_MODULE_WL_X11], [ - if test "x${have_wayland_only}" = "xyes" ; then - PKG_CHECK_MODULES([ECORE_X], [ecore-x >= ${efl_version}]) + if test "x${have_wayland}" = "xyes" ; then + PKG_CHECK_MODULES([ECORE_X], [ecore-x >= ${efl_version}], [have_wayland_only=no], [WL_X11=false]) fi - if test "x${have_wayland_only}" = "xyes"; then + if test "x${have_wayland}" = "xyes"; then AC_E_CHECK_PKG(WL_X11, [ ecore-x >= ${efl_version} ], [WL_X11=true], [WL_X11=false]) else WL_X11=false