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

Submitted by Bryce Harrington on Nov. 19, 2014, 11:06 p.m.

Details

Message ID 1416438386-4783-2-git-send-email-bryce@osg.samsung.com
State Accepted
Headers show

Not browsing as part of any series.

Commit Message

Bryce Harrington Nov. 19, 2014, 11:06 p.m.
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

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,