meson: Introduce the legacy-x11 option

We're going to use this to hide support for excessively old or weird
xserver environments.

Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29969>
This commit is contained in:
Adam Jackson
2024-06-28 11:02:09 -04:00
committed by Marge Bot
parent a8a15dc5b5
commit e8c1d966e5
2 changed files with 17 additions and 2 deletions

View File

@@ -747,3 +747,13 @@ option(
'the default driconf file is hardcoded into Mesa. ' +
'Requires expat.'
)
option(
'legacy-x11',
type : 'array',
value : ['none'],
description : 'Build legacy X11 support features.',
choices : [
'none', 'dri2'
],
)