GNOME Bugzilla – Bug 752104
Automatic wayland detect support causes error when wayland is not installed
Last modified: 2015-07-09 13:31:50 UTC
I found this commit https://git.gnome.org/browse/clutter/commit/?id=d09c204a266385626c40d851b6fbadf7a134aaa0 added automatic wayland detect support for clutter, and
AS_IF([test "x$enable_wayland" = "xyes"]
wass replaced by
AS_IF([test "x$enable_wayland" != xno]
This causes SUPPORT_WAYLAND to be defined as 1 even if wayland cannot be found when enable_wayland=check, so many errors are showed when compiling clutter because wayland headers cannot be found.
Created attachment 307058 [details] [review]
build: Do not define Wayland support unconditionally
Now that we discover at configure time if Wayland is available, we
should only enable support if we find it.
The patch fixes the build problem.
Thanks for testing.
Attachment 307058 [details] pushed as 19fbbcd - build: Do not define Wayland support unconditionally