summaryrefslogtreecommitdiff
path: root/source/x/x11/configure/xorg-server
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/configure/xorg-server')
-rw-r--r--source/x/x11/configure/xorg-server10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/x/x11/configure/xorg-server b/source/x/x11/configure/xorg-server
index bd3adf4f..c107644e 100644
--- a/source/x/x11/configure/xorg-server
+++ b/source/x/x11/configure/xorg-server
@@ -1,4 +1,12 @@
+# Build Wayland X Server (currently built as standalone):
+BUILD_XWAYLAND=NO
+
# Servers to build:
+if [ "$BUILD_XWAYLAND" = "NO" ]; then
+ XWAYLAND_OPTION="--disable-xwayland"
+else
+ XWAYLAND_OPTION="--enable-xwayland"
+fi
BUILD_SERVERS="--enable-xorg \
--enable-dmx \
--enable-xvfb \
@@ -6,7 +14,7 @@ BUILD_SERVERS="--enable-xorg \
--enable-glamor \
--enable-kdrive \
--enable-xephyr \
- --enable-xwayland \
+ $XWAYLAND_OPTION \
--enable-config-udev \
--disable-config-hal \
--disable-systemd-logind"