aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-04-28 14:10:00 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-06-25 20:04:30 -0400
commit5637f34df99ffe21b85453ba73e448175bdff2e3 (patch)
tree04b7ed29be605eb45166b151a4efe78921269d1f /configure.ac
parentload wl_desktop_shell and xwayland after wl comp load (diff)
downloadenlightenment-5637f34df99ffe21b85453ba73e448175bdff2e3.tar.gz
fix xwayland configure check
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index c9cb96bf5..54ffb6837 100644
--- a/configure.ac
+++ b/configure.ac
@@ -889,13 +889,12 @@ define([CHECK_MODULE_XWAYLAND],
[
if test "x${e_cv_want_wayland_only}" = "xyes"; then
AC_E_CHECK_PKG(XWAYLAND, [ ecore >= $efl_version eina >= $efl_version xcb xcb-xfixes xcb-composite xcursor ], [HAVE_XWAYLAND_DEPS=true], [HAVE_XWAYLAND_DEPS=false])
- AC_PATH_PROG([XWAYLAND_BIN], [Xwayland], [HAVE_XWAYLAND_DEPS=false], [/sbin:/usr/sbin:$PATH])
- AC_SUBST(XWAYLAND_BIN)
+ AC_PATH_PROG([XWAYLAND_BIN], [Xwayland], [false])
else
HAVE_XWAYLAND_DEPS=false
fi
])
-AM_CONDITIONAL([HAVE_XWAYLAND], [test "x${HAVE_XWAYLAND_DEPS}" = "xtrue"])
+AM_CONDITIONAL([HAVE_XWAYLAND], [test "x${XWAYLAND_BIN}" != "xfalse"])
AC_E_OPTIONAL_MODULE([ibar], true)
AC_E_OPTIONAL_MODULE([clock], true)