]> git.ipfire.org Git - thirdparty/qemu.git/commit - meson.build
meson, configure: move Xen detection to meson
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Apr 2022 15:33:47 +0000 (17:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 7 May 2022 05:46:58 +0000 (07:46 +0200)
commit14efd8d3b5fee7027f0ee072aea6620e0655774f
tree2545715139f3cc7c60f69e8c7eff9acd408d18b7
parent119fc611eac96d5ad5c407860b29c0fd5d072f6d
meson, configure: move Xen detection to meson

This is quite a complicated check.  I moved all the test programs to
a single file in scripts/, picking the right program with #if and a -D
flag in meson.build's cc.links() invocation.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
meson.build
scripts/xen-detect.c [new file with mode: 0644]