Fix breakage caused by 3e690812b07bccce4cd2909d1d3e6e145707a8c5
authorChris Michael <cp.michael@samsung.com>
Wed, 17 Apr 2013 05:29:12 +0000 (06:29 +0100)
committerChris Michael <cp.michael@samsung.com>
Wed, 17 Apr 2013 05:29:12 +0000 (06:29 +0100)
Allow building of wl_desktop_shell module again. This works for both
cases (wayland and not wayland) now.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
configure.ac

index 26f89ec..11e0b9e 100644 (file)
@@ -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)