From patchwork Mon Jan 24 16:20:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 80205 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0F67CB710D for ; Tue, 25 Jan 2011 03:37:58 +1100 (EST) Received: from localhost ([127.0.0.1]:35771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhPPF-0004Dc-1d for incoming@patchwork.ozlabs.org; Mon, 24 Jan 2011 11:36:41 -0500 Received: from [140.186.70.92] (port=51420 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhPAL-0004mr-3Z for qemu-devel@nongnu.org; Mon, 24 Jan 2011 11:21:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhPA7-0005qs-IA for qemu-devel@nongnu.org; Mon, 24 Jan 2011 11:21:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhPA7-0005qc-5A for qemu-devel@nongnu.org; Mon, 24 Jan 2011 11:21:03 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0OGKwpw028451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 24 Jan 2011 11:20:59 -0500 Received: from rincewind.home.kraxel.org (vpn1-5-238.ams2.redhat.com [10.36.5.238]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p0OGKv2i017958; Mon, 24 Jan 2011 11:20:58 -0500 Received: by rincewind.home.kraxel.org (Postfix, from userid 500) id 5899241603; Mon, 24 Jan 2011 17:20:50 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Mon, 24 Jan 2011 17:20:48 +0100 Message-Id: <1295886049-30548-8-git-send-email-kraxel@redhat.com> In-Reply-To: <1295886049-30548-1-git-send-email-kraxel@redhat.com> References: <1295886049-30548-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: Jiri Denemark , Jiri Denemark , Gerd Hoffmann Subject: [Qemu-devel] [PATCH 7/8] configure: Fix spice probe X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Jiri Denemark Non-existent $pkgconfig instead of $pkg_config was used when configure probes for spice availability. Signed-off-by: Jiri Denemark Signed-off-by: Gerd Hoffmann --- configure | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 210670c..dc469b2 100755 --- a/configure +++ b/configure @@ -2207,9 +2207,9 @@ if test "$spice" != "no" ; then #include int main(void) { spice_server_new(); return 0; } EOF - spice_cflags=$($pkgconfig --cflags spice-protocol spice-server 2>/dev/null) - spice_libs=$($pkgconfig --libs spice-protocol spice-server 2>/dev/null) - if $pkgconfig --atleast-version=0.5.3 spice-server >/dev/null 2>&1 && \ + spice_cflags=$($pkg_config --cflags spice-protocol spice-server 2>/dev/null) + spice_libs=$($pkg_config --libs spice-protocol spice-server 2>/dev/null) + if $pkg_config --atleast-version=0.5.3 spice-server >/dev/null 2>&1 && \ compile_prog "$spice_cflags" "$spice_libs" ; then spice="yes" libs_softmmu="$libs_softmmu $spice_libs"