[PATCH v1 weston 01/11] configure.ac: Indicate headless compositor presence in config.h

Bryce Harrington bryce at osg.samsung.com
Wed Nov 19 15:06:16 PST 2014


Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 9377774..56ee544 100644
--- a/configure.ac
+++ b/configure.ac
@@ -181,6 +181,9 @@ AC_ARG_ENABLE(headless-compositor, [  --enable-headless-compositor],,
 	      enable_headless_compositor=yes)
 AM_CONDITIONAL(ENABLE_HEADLESS_COMPOSITOR,
 	       test x$enable_headless_compositor = xyes)
+if test x$enable_headless_compositor = xyes; then
+  AC_DEFINE([BUILD_HEADLESS_COMPOSITOR], [1], [Build the headless compositor])
+fi
 
 
 AC_ARG_ENABLE(rpi-compositor,
-- 
1.9.1



More information about the wayland-devel mailing list