From: Paolo Bonzini <pbonzini@redhat.com>
To: marcandre.lureau@redhat.com, qemu-devel@nongnu.org
Cc: kraxel@redhat.com
Subject: Re: [PATCH] build-sys: move Spice configure handling to meson
Date: Thu, 7 Oct 2021 13:00:58 +0200 [thread overview]
Message-ID: <848ce438-df0e-f25a-0eca-432825c726f6@redhat.com> (raw)
In-Reply-To: <20211007102453.978041-1-marcandre.lureau@redhat.com>
On 07/10/21 12:24, marcandre.lureau@redhat.com wrote:
> +spice_protocol = dependency('spice-protocol', version: '>=0.12.3',
> + required: get_option('spice_protocol'))
> +spice = dependency('spice-server', version: '>=0.12.5',
> + required: get_option('spice'))
This needs to be:
spice_protocol = not_found
if not get_option('spice_protocol').auto() or have_system
spice_protocol = ...
endif
spice = not_found
if not get_option('spice_protocol').auto() or have_system
spice = ...
endif
in order to avoid useless warnings on --disable-user --static builds.
> +if spice.found()
> + config_host += { 'CONFIG_SPICE': 'y' } # for audio/meson.build
> +endif
I have a pending series that removes the need for this, so I'll fold it
in my queue.
(I didn't know about partial_dependency - nice one!)
Paolo
prev parent reply other threads:[~2021-10-07 11:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-07 10:24 [PATCH] build-sys: move Spice configure handling to meson marcandre.lureau
2021-10-07 11:00 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=848ce438-df0e-f25a-0eca-432825c726f6@redhat.com \
--to=pbonzini@redhat.com \
--cc=kraxel@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).