Xwayland DDX: build breaks in configuration
memsize at videotron.ca
Sun Apr 6 08:05:49 PDT 2014
On 14-04-06 06:02 AM, Yaakov (Cygwin/X) wrote:
>> Any idea how to fix this? I would prefer that the RC I'm still trying to
>> construct will build for most people...
> Adding a copy of wayland-scanner.m4 to m4/ should work.
This would work if this macro does not itself introduces more
dependencies. The drawback is dual maintenance, as it must be updated
when the original one is changed. In addition, a user could end up with
both out-of-sync macros being on the search path, not really aware of
which one will be picked-up.
Another approach is to adopt the common idiom for "auto" detected
features. If the macro is missing, for whatever reason, disable wayland
building. It will require some m4 coding.
Something like this:
diff --git a/configure.ac b/configure.ac
index 70eceab..b13f180 100644
@@ -2442,6 +2442,8 @@ AM_CONDITIONAL(XFAKESERVER, [test "x$KDRIVE" =
xyes && test "x$XFAKE" = xyes])
dnl Xwayland DDX
PKG_CHECK_MODULES(XWAYLANDMODULES, [wayland-client libdrm epoxy],
AC_MSG_CHECKING([whether to build Xwayland DDX])
if test "x$XWAYLAND" = xauto; then
@@ -2458,7 +2460,8 @@ if test "x$XWAYLAND" = xyes; then
Not tested with xwayland installed, but no more build breaks without
xwayland. Worth a try.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xorg-devel