OSDN Git Service

configure: rename --enable-pypi to --enable-download, control subprojects too
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 May 2023 14:11:29 +0000 (16:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Jun 2023 14:30:01 +0000 (16:30 +0200)
commitac4ccac740a824539a92ef397bb5efa58bd8cbe5
tree3c2e7f903160d2963201f751356a7081347e7729
parent50cfed80ecc01ea4300ed4b0ea5b567f381b9421
configure: rename --enable-pypi to --enable-download, control subprojects too

The behavior of --{enable,disable}-pypi is similar to that of
-Dwrapmode={default,nodownload} respectively.  In particular,
in both cases a feature needs to be explicitly enabled for the
dependency to be downloaded.

So, use a single option to control both cases.  Now, --enable-slirp
will trigger cloning and building of libslirp if the .pc file
is not found on the machine.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
.gitignore
configure
meson.build
subprojects/.gitignore [new file with mode: 0644]