qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 10/39] do not default to non-prefixed pkg-config whe


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH 10/39] do not default to non-prefixed pkg-config when cross compiling
Date: Tue, 12 Oct 2010 15:00:28 +0200

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 <address@hidden>
---
 configure |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index ac11d4e..e072dde 100755
--- a/configure
+++ b/configure
@@ -1166,8 +1166,9 @@ 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
+  echo warning: proceeding without "$pkg_config" >&5
+  pkg_config=/bin/false
 fi
 
 ##########################################
-- 
1.7.2.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]