From patchwork Thu Aug 19 12:40:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 62149 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 9B402B70E4 for ; Thu, 19 Aug 2010 22:53:25 +1000 (EST) Received: from localhost ([127.0.0.1]:42569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om4cS-0002Ap-5x for incoming@patchwork.ozlabs.org; Thu, 19 Aug 2010 08:53:20 -0400 Received: from [140.186.70.92] (port=49050 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om4Q7-0003DJ-Qb for qemu-devel@nongnu.org; Thu, 19 Aug 2010 08:40:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Om4Q6-0002pP-OE for qemu-devel@nongnu.org; Thu, 19 Aug 2010 08:40:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37419) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om4Q6-0002ox-BN for qemu-devel@nongnu.org; Thu, 19 Aug 2010 08:40:34 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7JCeXXN005417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 19 Aug 2010 08:40:33 -0400 Received: from rincewind.home.kraxel.org (vpn1-4-195.ams2.redhat.com [10.36.4.195]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o7JCeV9K018779; Thu, 19 Aug 2010 08:40:32 -0400 Received: by rincewind.home.kraxel.org (Postfix, from userid 500) id 7F68B40672; Thu, 19 Aug 2010 14:40:25 +0200 (CEST) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Thu, 19 Aug 2010 14:40:20 +0200 Message-Id: <1282221625-29501-5-git-send-email-kraxel@redhat.com> In-Reply-To: <1282221625-29501-1-git-send-email-kraxel@redhat.com> References: <1282221625-29501-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: Gerd Hoffmann Subject: [Qemu-devel] [PATCH 4/9] configure: require spice 0.5.3 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 Signed-off-by: Gerd Hoffmann --- configure | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 56e7084..0998e86 100755 --- a/configure +++ b/configure @@ -2061,11 +2061,10 @@ if test "$spice" != "no" ; then #include int main(void) { spice_server_new(); return 0; } EOF - spice_proto_ver=$($pkgconfig --modversion spice-protocol 2>/dev/null) - spice_server_ver=$($pkgconfig --modversion spice-server 2>/dev/null) spice_cflags=$($pkgconfig --cflags spice-protocol spice-server 2>/dev/null) spice_libs=$($pkgconfig --libs spice-protocol spice-server 2>/dev/null) - if compile_prog "$spice_cflags" "$spice_libs" ; then + if $pkgconfig --atleast-version=0.5.3 spice-server &&\ + compile_prog "$spice_cflags" "$spice_libs" ; then spice="yes" libs_softmmu="$libs_softmmu $spice_libs" QEMU_CFLAGS="$QEMU_CFLAGS $spice_cflags"