disable xwayland module if exe cannot be found during configure

should probably make this a --flag at some point

fix T3415
This commit is contained in:
Mike Blumenkrantz 2016-04-04 15:42:26 -04:00
parent a2d6a3e0ed
commit 3ad934b7c2
1 changed files with 3 additions and 0 deletions

View File

@ -772,6 +772,9 @@ define([CHECK_MODULE_XWAYLAND],
if test "x${have_wayland}" = "xyes"; then
AC_E_CHECK_PKG(XWAYLAND, [ ecore-x >= ${efl_version} ecore-audio >= ${efl_version} ], [HAVE_XWAYLAND_DEPS=true], [HAVE_XWAYLAND_DEPS=false])
AC_PATH_PROG([XWAYLAND_BIN], [Xwayland], [false])
if test "x${XWAYLAND_BIN}" = "xfalse"; then
HAVE_XWAYLAND_DEPS=false
fi
else
HAVE_XWAYLAND_DEPS=false
fi