add configure flag for xwayland binary

This commit is contained in:
Mike Blumenkrantz 2016-05-06 13:37:10 -04:00
parent 44526e6ae1
commit a259de324e
2 changed files with 3 additions and 3 deletions

View File

@ -771,8 +771,8 @@ 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
EFL_WITH_BIN([Xwayland], [Xwayland], [Xwayland])
if test -z "x${Xwayland}" ; then
HAVE_XWAYLAND_DEPS=false
fi
else

View File

@ -7,7 +7,7 @@ src_modules_xwayland_module_la_CPPFLAGS = \
$(MOD_CPPFLAGS) \
@XWAYLAND_CFLAGS@ \
@WAYLAND_CFLAGS@ \
-DXWAYLAND_BIN=\"@XWAYLAND_BIN@\"
-DXWAYLAND_BIN=\"@xwayland@\"
src_modules_xwayland_module_la_LIBADD = $(MOD_LIBS) @XWAYLAND_LIBS@ @WAYLAND_LIBS@
src_modules_xwayland_module_la_LDFLAGS = $(MOD_LDFLAGS)