From 0842154128a6763c63ef011cb967219605625f18 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 23 Dec 2010 11:43:56 +0100 Subject: [PATCH] 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 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ##########################################