configure: move X11 detection to Meson
commit9d71037f4beb203e3fddfe78ac9d79ef34999796
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Jan 2021 12:54:22 +0000 (7 13:54 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Jan 2021 11:38:03 +0000 (12 12:38 +0100)
tree1c2cdbed3eb2b1296405c71d54b6cef33fe9ce38
parent5cb69566daa8081abb82a13403dcc0fffed02007
configure: move X11 detection to Meson

For now move the logic verbatim.  GTK+ actually has a hard requirement
on X11 if gtk+x11 is present, but we will sort that out later.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
meson.build
ui/meson.build