From: Paolo Bonzini Date: Thu, 23 Dec 2010 10:43:56 +0000 (+0100) Subject: do not default to non-prefixed pkg-config when cross compiling X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0842154128a6763c63ef011cb967219605625f18;p=qemu.git do not default to non-prefixed pkg-config when cross compiling This can still be requested with PKG_CONFIG=/path/to/pkg-config. Just do not use it as a default, and print a warning. Signed-off-by: Paolo Bonzini Signed-off-by: Blue Swirl --- diff --git a/configure b/configure index 7eabae45ad..c6e4aa05a8 100755 --- a/configure +++ b/configure @@ -1163,8 +1163,8 @@ fi # pkg-config probe if ! has $pkg_config; then - # likely not cross compiling, or hope for the best - pkg_config=pkg-config + echo warning: proceeding without "$pkg_config" >&2 + pkg_config=/bin/false fi ##########################################