From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40978 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5eTy-0007Yk-Db for qemu-devel@nongnu.org; Tue, 12 Oct 2010 09:01:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5eTt-0004Zr-A5 for qemu-devel@nongnu.org; Tue, 12 Oct 2010 09:01:30 -0400 Received: from mail-qw0-f45.google.com ([209.85.216.45]:52643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5eTt-0004Mc-7W for qemu-devel@nongnu.org; Tue, 12 Oct 2010 09:01:25 -0400 Received: by mail-qw0-f45.google.com with SMTP id 5so1841033qwh.4 for ; Tue, 12 Oct 2010 06:01:24 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 12 Oct 2010 15:00:28 +0200 Message-Id: <1286888457-5033-11-git-send-email-pbonzini@redhat.com> In-Reply-To: <1286888457-5033-1-git-send-email-pbonzini@redhat.com> References: <1286888457-5033-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 10/39] do not default to non-prefixed pkg-config when cross compiling List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 --- 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