summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h.meson9
-rw-r--r--meson.build3
2 files changed, 12 insertions, 0 deletions
diff --git a/config.h.meson b/config.h.meson
index 9119ad864..a977540d4 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 2bb71cc11..49e66e717 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)