提交 a213fcb2 编写于 作者: P Peter Maydell 提交者: Stefan Hajnoczi

configure: Make missing pkg-config an error rather than a warning

If pkg-config doesn't exist then make configure fail immediately
with a useful error message. Now that glib is a required dependency,
proceeding despite the missing pkg-config will just cause us to
fail later with a misleading message about glib not being present.
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
Acked-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
上级 782ea2c7
......@@ -1340,8 +1340,8 @@ fi
# pkg-config probe
if ! has $pkg_config; then
echo warning: proceeding without "$pkg_config" >&2
pkg_config=/bin/false
echo "Error: pkg-config binary '$pkg_config' not found"
exit 1
fi
##########################################
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册