aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-12-23 11:43:56 +0100
committerBlue Swirl <blauwirbel@gmail.com>2011-01-14 16:11:59 +0000
commit0842154128a6763c63ef011cb967219605625f18 (patch)
treea560853df10484f4b0ca48f6425d8e796b98fb59 /configure
parenta8bd70ad3b62701037e9f3a996762ca7c29581a2 (diff)
downloadqemu-0842154128a6763c63ef011cb967219605625f18.zip
qemu-0842154128a6763c63ef011cb967219605625f18.tar.gz
qemu-0842154128a6763c63ef011cb967219605625f18.tar.bz2
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 <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 7eabae4..c6e4aa0 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
##########################################