xnest: don't force it off on Windows

No reason to explicitly force it off on Windows - if dependencies are present,
we can build it. Even though it will be rarely needed.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1534>
(cherry picked from commit 1ead670476)
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-05-13 11:57:45 +02:00
committed by Alan Coopersmith
parent c7846a6112
commit 3590a0d364

View File

@@ -242,8 +242,7 @@ if (host_machine.system() != 'darwin' and
endif
build_xnest = false
if (host_machine.system() != 'windows')
if get_option('xnest') != 'false'
if get_option('xnest') != 'false'
xnest_required = get_option('xnest') == 'true'
xnest_dep = [
@@ -259,7 +258,6 @@ if (host_machine.system() != 'windows')
build_xnest = false
endif
endforeach
endif
endif
build_xwin = false