[PATCH V2 6/8] weston: Add configure to support wrandr.
Quanxian Wang
quanxian.wang at intel.com
Mon Mar 24 04:39:18 PDT 2014
Signed-off-by: Quanxian Wang <quanxian.wang at intel.com>
---
Makefile.am | 5 +++++
configure.ac | 8 ++++++++
2 files changed, 13 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index f22c542..254cde7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,11 +6,16 @@ if ENABLE_XWAYLAND
xwayland_subdir = xwayland
endif
+if BUILD_WRANDR
+randr_dir = module/wrandr
+endif
+
SUBDIRS = \
shared \
src \
$(xwayland_subdir) \
desktop-shell \
+ $(randr_dir) \
clients \
data \
protocol \
diff --git a/configure.ac b/configure.ac
index cce1850..01e7429 100644
--- a/configure.ac
+++ b/configure.ac
@@ -409,6 +409,12 @@ if test "x$enable_dbus" != "xno"; then
fi
AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes")
+AC_ARG_ENABLE(wrandr, [ --disable-wrandr],, enable_wrandr=no)
+AM_CONDITIONAL(BUILD_WRANDR, test x$enable_wrandr = xyes)
+if test x$enable_wrandr = xyes; then
+ AC_DEFINE([BUILD_WRANDR], [1], [Build the wrandr])
+fi
+
AC_ARG_ENABLE(wcap-tools, [ --disable-wcap-tools],, enable_wcap_tools=yes)
AM_CONDITIONAL(BUILD_WCAP_TOOLS, test x$enable_wcap_tools = xyes)
if test x$enable_wcap_tools = xyes; then
@@ -498,6 +504,8 @@ AC_CONFIG_FILES([Makefile
src/Makefile
xwayland/Makefile
desktop-shell/Makefile
+ module/Makefile
+ module/wrandr/Makefile
src/version.h
src/weston.pc
clients/Makefile
--
1.8.1.2
More information about the wayland-devel
mailing list