summaryrefslogtreecommitdiffstats
path: root/chardev
diff options
context:
space:
mode:
authorMarc-André Lureau2021-10-07 15:08:23 +0200
committerPaolo Bonzini2021-10-14 09:50:57 +0200
commit3f0a5d55ae1cd47149bf11bd984e54fc03ad6cfb (patch)
treec42a5648e361985c0c7634e99ec36485c1140de8 /chardev
parentconfigure, meson: move netmap detection to meson (diff)
downloadqemu-3f0a5d55ae1cd47149bf11bd984e54fc03ad6cfb.tar.gz
qemu-3f0a5d55ae1cd47149bf11bd984e54fc03ad6cfb.tar.xz
qemu-3f0a5d55ae1cd47149bf11bd984e54fc03ad6cfb.zip
configure, meson: move Spice configure handling to meson
Add meson feature options for Spice and Spice protocol, and move detection logic out of configure. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20211007102453.978041-1-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20211007130829.632254-13-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'chardev')
-rw-r--r--chardev/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/chardev/meson.build b/chardev/meson.build
index 32377af383..325ba2bdb9 100644
--- a/chardev/meson.build
+++ b/chardev/meson.build
@@ -35,7 +35,7 @@ if brlapi.found()
chardev_modules += { 'baum': module_ss }
endif
-if config_host.has_key('CONFIG_SPICE')
+if spice.found()
module_ss = ss.source_set()
module_ss.add(when: [spice], if_true: files('spice.c'))
chardev_modules += { 'spice': module_ss }