From: Seunghun Lee Date: Tue, 10 Nov 2015 02:49:16 +0000 (+0900) Subject: fix build break in x11 build environment. X-Git-Tag: accepted/tizen/mobile/20151111.232146~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8568997ed4e0a40b72cc0bb496e3a86310f1b26;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-wm-policy.git fix build break in x11 build environment. Check whether build environment is wayland before checking tzsh-server pkgconfig is existed. Change-Id: I8a6e4da613413f9422c91c9ebfa06757bb3d67a1 --- diff --git a/configure.ac b/configure.ac index 71dc5de..0d00474 100644 --- a/configure.ac +++ b/configure.ac @@ -59,7 +59,9 @@ AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture") datadir=$(pkg-config --variable=modules enlightenment)/${PACKAGE} # for Tzsh -PKG_CHECK_MODULES([TZSH_SERVER], [tzsh-server]) +if test "x${have_wayland_only}" = "xyes"; then + PKG_CHECK_MODULES([TZSH_SERVER], [tzsh-server]) +fi AC_CONFIG_FILES([Makefile src/Makefile])