From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=48532 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PViec-0007Bn-MN for qemu-devel@nongnu.org; Thu, 23 Dec 2010 05:44:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVieX-0003oi-Us for qemu-devel@nongnu.org; Thu, 23 Dec 2010 05:44:14 -0500 Received: from mail-ww0-f53.google.com ([74.125.82.53]:57423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVieX-0003dM-Qc for qemu-devel@nongnu.org; Thu, 23 Dec 2010 05:44:09 -0500 Received: by mail-ww0-f53.google.com with SMTP id 18so5886717wwi.10 for ; Thu, 23 Dec 2010 02:44:09 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 23 Dec 2010 11:43:56 +0100 Message-Id: <1293101042-13121-10-git-send-email-pbonzini@redhat.com> In-Reply-To: <1293101042-13121-1-git-send-email-pbonzini@redhat.com> References: <1293101042-13121-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v3 09/15] 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 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index aeda349..a9423b9 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 ########################################## -- 1.7.3.2