Add a headless backend
Add a headless backend and a noop renderer, mainly for testing
purposes. Although no rendering is performed with this backend,
this allow some of the code paths inside Weston and shm clients
to be tested without any windowing system or any need for drm
access.
diff --git a/configure.ac b/configure.ac
index 35a8097..7d403cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,6 +109,12 @@
fi
+AC_ARG_ENABLE(headless-compositor, [ --enable-headless-compositor],,
+ enable_headless_compositor=yes)
+AM_CONDITIONAL(ENABLE_HEADLESS_COMPOSITOR,
+ test x$enable_headless_compositor = xyes)
+
+
AC_ARG_ENABLE(android-compositor,
AS_HELP_STRING([--disable-android-compositor],
[do not build-test the Android 4.0 backend]),,