From 7d82951b4aa2c8015bfadfede46330d7ab213952 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 17 Apr 2013 06:29:12 +0100 Subject: [PATCH] Fix breakage caused by 3e690812b07bccce4cd2909d1d3e6e145707a8c5 Allow building of wl_desktop_shell module again. This works for both cases (wayland and not wayland) now. Signed-off-by: Chris Michael --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 26f89ecce..11e0b9ed0 100644 --- a/configure.ac +++ b/configure.ac @@ -867,11 +867,12 @@ AM_CONDITIONAL([HAVE_WAYLAND_EGL], [test "x${have_wayland_egl}" = "xyes"]) define([CHECK_MODULE_WL_DESKTOP_SHELL], [ if test "x${have_wayland_clients}" = "xyes"; then - PKG_CHECK_EXISTS([ ecore >= $efl_version eina >= $efl_version ], [WL_DESKTOP_SHELL=true], [WL_DESKTOP_SHELL=false]) + AC_E_CHECK_PKG(WL_DESKTOP_SHELL, [ ecore >= $efl_version eina >= $efl_version ], [WL_DESKTOP_SHELL=true], [WL_DESKTOP_SHELL=false]) else WL_DESKTOP_SHELL=false fi ]) +AM_CONDITIONAL([HAVE_WL_DESKTOP_SHELL], [test "x${WL_DESKTOP_SHELL}" = "xtrue"]) AC_E_OPTIONAL_MODULE([ibar], true) AC_E_OPTIONAL_MODULE([clock], true)