From b8568997ed4e0a40b72cc0bb496e3a86310f1b26 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Tue, 10 Nov 2015 11:49:16 +0900 Subject: [PATCH] fix build break in x11 build environment. Check whether build environment is wayland before checking tzsh-server pkgconfig is existed. Change-Id: I8a6e4da613413f9422c91c9ebfa06757bb3d67a1 --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]) -- 2.7.4