[mutter/bilelmoussaoui/meson-without-x11: 21/21] build: Add X11/XWayland config options




commit 5920de4a8ecec037b8b0e43ab620923b3e51ae99
Author: Bilal Elmoussaoui <belmouss redhat com>
Date:   Fri May 6 15:51:40 2022 +0200

    build: Add X11/XWayland config options

 config.h.meson | 9 +++++++++
 meson.build    | 3 +++
 2 files changed, 12 insertions(+)
---
diff --git a/config.h.meson b/config.h.meson
index 9119ad864e..a977540d4c 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -43,6 +43,15 @@
 /* Define if you want to enable Wayland support */
 #mesondefine HAVE_WAYLAND
 
+/* Define if you want to enable XWayland support */
+#mesondefine HAVE_XWAYLAND
+
+/* Define if you want to enable X11 backend support */
+#mesondefine HAVE_X11
+
+/* Define if either XWayland or X11 backend are enabled */
+#mesondefine HAVE_X11_CLIENT
+
 /* Defined if screen cast and remote desktop support is enabled */
 #mesondefine HAVE_REMOTE_DESKTOP
 
diff --git a/meson.build b/meson.build
index 2bb71cc11b..49e66e717d 100644
--- a/meson.build
+++ b/meson.build
@@ -472,6 +472,9 @@ cdata.set_quoted('PACKAGE_VERSION', meson.project_version())
 
 cdata.set('HAVE_EGL', have_egl)
 cdata.set('HAVE_WAYLAND', have_wayland)
+cdata.set('HAVE_XWAYLAND', have_xwayland)
+cdata.set('HAVE_X11', have_x11)
+cdata.set('HAVE_X11_CLIENT', have_x11_client)
 cdata.set('HAVE_LIBSYSTEMD', have_libsystemd)
 cdata.set('HAVE_NATIVE_BACKEND', have_native_backend)
 cdata.set('HAVE_REMOTE_DESKTOP', have_remote_desktop)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]