On 5/5/21 4:24 PM, Paolo Bonzini wrote: > "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 <[email protected]> > Signed-off-by: Paolo Bonzini <[email protected]> > --- > configure | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
