forked from enlightenment/enlightenment
fix xwayland configure check
This commit is contained in:
parent
dbce320216
commit
5637f34df9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue