diff options
author | Paolo Bonzini | 2021-05-05 16:15:34 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-05-12 10:06:50 +0200 |
commit | 5ecfb76ccc056eb6127e44268e475827ae73b9e0 (patch) | |
tree | ab24b3c6ba8cac288e34abb23a47c168b279c4a5 /hw/pci-host/bonito.c | |
parent | qemu-option: support accept-any QemuOptsList in qemu_opts_absorb_qdict (diff) | |
download | qemu-5ecfb76ccc056eb6127e44268e475827ae73b9e0.tar.gz qemu-5ecfb76ccc056eb6127e44268e475827ae73b9e0.tar.xz qemu-5ecfb76ccc056eb6127e44268e475827ae73b9e0.zip |
configure: fix detection of gdbus-codegen
"pkg-config --variable=gdbus_codegen gio-2.0" returns "gdbus-codegen",
and it does not pass test -x (which does not walk the path).
Meson 0.58.0 notices that something is iffy, as the dbus_vmstate1
assignment in tests/qtest/meson.build uses an empty string as the
command, and fails very eloquently:
../tests/qtest/meson.build:92:2: ERROR: No program name specified.
Use the "has" function instead of test -x, and fix the generation
of config-host.mak since meson.build expects that GDBUS_CODEGEN
is absent, rather than empty, if the tool is unavailable.
Reported-by: Sebastian Mitterle <smitterl@redhat.com>
Fixes: #178
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/pci-host/bonito.c')
0 files changed, 0 insertions, 0 deletions