Hmm, yea, I missed this on review.

@smspillaz: to add to what @davilla said, you'll need to mv xbmc/windowing/Makefile to xbmc/windowing/Makefile.in and add it to the list in configure.in (look for the other Makefiles at the end). Then you can define USE_WAYLAND or so in configure.in if wayland should be built, and AC_SUBST it so that it's available for substituting in the Makefile.in.