consolidate MITSHM and HAS_SHM symbols

Both symbols are set on exactly the same condition (build_mitshm),
so can be consolidated into one: MITSHM

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1296>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-02-14 16:51:17 +01:00
committed by Marge Bot
parent 77f9792911
commit ebabca56a4
4 changed files with 22 additions and 26 deletions

View File

@@ -212,7 +212,6 @@ conf_data.set('DRI3', build_dri3 ? '1' : false)
if build_glx
conf_data.set_quoted('DRI_DRIVER_PATH', dri_dep.get_variable(pkgconfig : 'dridriverdir'))
endif
conf_data.set('HAS_SHM', build_mitshm ? '1' : false)
conf_data.set('MITSHM', build_mitshm ? '1' : false)
conf_data.set('PANORAMIX', build_xinerama ? '1' : false)
conf_data.set('PRESENT', '1')

View File

@@ -41,9 +41,6 @@
/* Support XDM-AUTH*-1 */
#mesondefine HASXDMAUTH
/* Support SHM */
#mesondefine HAS_SHM
/* Define to 1 if you have the `reallocarray' function. */
#mesondefine HAVE_REALLOCARRAY