meson: rename symbol MITSHM to CONFIG_MITSHM

some bit better naming for config symbols.
Yet leaving the old one defined, until all drivers have kept up.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-08-01 19:52:18 +02:00
committed by Enrico Weigelt
parent 34039b29c6
commit bbabd96e6c
13 changed files with 69 additions and 66 deletions

View File

@@ -223,6 +223,7 @@ if build_glx
conf_data.set_quoted('DRI_DRIVER_PATH', dri_dep.get_variable(pkgconfig : 'dridriverdir'))
endif
conf_data.set('MITSHM', build_mitshm ? '1' : false)
conf_data.set('CONFIG_MITSHM', build_mitshm ? '1' : false)
# for backwards compat with drivers, still setting the old PANORAMIX symbol
conf_data.set('PANORAMIX', build_xinerama ? '1' : false)

View File

@@ -58,6 +58,7 @@
/* Support MIT-SHM Extension */
#mesondefine MITSHM
#mesondefine CONFIG_MITSHM
/* Internal define for Xinerama */
#mesondefine PANORAMIX