From patchwork Fri Feb 22 11:11:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 222514 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 51E662C02AD for ; Fri, 22 Feb 2013 22:12:26 +1100 (EST) Received: from localhost ([::1]:55390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8qYC-0006l4-Ep for incoming@patchwork.ozlabs.org; Fri, 22 Feb 2013 06:12:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8qXw-0006Sz-Tl for qemu-devel@nongnu.org; Fri, 22 Feb 2013 06:12:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8qXq-0005Da-7w for qemu-devel@nongnu.org; Fri, 22 Feb 2013 06:12:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8qXq-0005DD-0r for qemu-devel@nongnu.org; Fri, 22 Feb 2013 06:12:02 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r1MBC0ZB029461 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 22 Feb 2013 06:12:00 -0500 Received: from rincewind.home.kraxel.org (ovpn-116-18.ams2.redhat.com [10.36.116.18]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r1MBC0il015724; Fri, 22 Feb 2013 06:12:00 -0500 Received: by rincewind.home.kraxel.org (Postfix, from userid 500) id 892024230D; Fri, 22 Feb 2013 12:11:59 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Fri, 22 Feb 2013 12:11:58 +0100 Message-Id: <1361531519-4793-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1361531519-4793-1-git-send-email-kraxel@redhat.com> References: <1361531519-4793-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Gerd Hoffmann Subject: [Qemu-devel] [PATCH 1/2] require gtk 2.20+ X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The gtk code uses gtk_widget_get_realized which is available in 2.20+ only, so make this the minimum accepted versions. Fixes build failures on RHEL-6 (which ships 2.18) by not building gtk support there. Signed-off-by: Gerd Hoffmann --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0dadd31..a6b0c02 100755 --- a/configure +++ b/configure @@ -1644,7 +1644,7 @@ fi # GTK probe if test "$gtk" != "no"; then - if $pkg_config gtk+-2.0 --modversion >/dev/null 2>/dev/null && \ + if $pkg_config gtk+-2.0 --atleast-version=2.20 >/dev/null 2>/dev/null && \ $pkg_config vte --modversion >/dev/null 2>/dev/null; then gtk_cflags=`$pkg_config --cflags gtk+-2.0 2>/dev/null` gtk_libs=`$pkg_config --libs gtk+-2.0 2>/dev/null`