From patchwork Fri May 6 18:03:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 9035191 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id ECBE6BF29F for ; Fri, 6 May 2016 18:05:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6517320274 for ; Fri, 6 May 2016 18:05:08 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B4EF720272 for ; Fri, 6 May 2016 18:05:07 +0000 (UTC) Received: from localhost ([::1]:59579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayk7b-0007M9-BV for patchwork-qemu-devel@patchwork.kernel.org; Fri, 06 May 2016 14:05:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayk7I-00075t-RV for qemu-devel@nongnu.org; Fri, 06 May 2016 14:04:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayk77-0001Sz-4M for qemu-devel@nongnu.org; Fri, 06 May 2016 14:04:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayk76-0001Og-V9 for qemu-devel@nongnu.org; Fri, 06 May 2016 14:04:33 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D493B7F0A4 for ; Fri, 6 May 2016 18:04:21 +0000 (UTC) Received: from colepc.redhat.com (ovpn-113-44.phx2.redhat.com [10.3.113.44]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u46I4E4g019036; Fri, 6 May 2016 14:04:21 -0400 From: Cole Robinson To: qemu-devel@nongnu.org Date: Fri, 6 May 2016 14:03:11 -0400 Message-Id: <98e4a3b98dc824bfaff96db43b172272c780c15f.1462557436.git.crobinso@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 07/10] configure: report SDL version X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gerd Hoffmann , Cole Robinson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Cole Robinson --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 55bd354..22cf55c 100755 --- a/configure +++ b/configure @@ -2448,10 +2448,10 @@ fi if $pkg_config $sdlname --exists; then sdlconfig="$pkg_config $sdlname" - _sdlversion=`$sdlconfig --modversion 2>/dev/null | sed 's/[^0-9]//g'` + sdlversion=`$sdlconfig --modversion 2>/dev/null` elif has ${sdl_config}; then sdlconfig="$sdl_config" - _sdlversion=`$sdlconfig --version | sed 's/[^0-9]//g'` + sdlversion=`$sdlconfig --version` else if test "$sdl" = "yes" ; then feature_not_found "sdl" "Install SDL devel" @@ -2476,7 +2476,7 @@ EOF sdl_libs=`$sdlconfig --libs 2> /dev/null` fi if compile_prog "$sdl_cflags" "$sdl_libs" ; then - if test "$_sdlversion" -lt 121 ; then + if test `echo $sdlversion | sed 's/[^0-9]//g'` -lt 121 ; then sdl_too_old=yes else sdl=yes @@ -4786,7 +4786,7 @@ if test "$darwin" = "yes" ; then echo "Cocoa support $cocoa" fi echo "pixman $pixman" -echo "SDL support $sdl" +echo "SDL support $sdl `echo_version $sdl $sdlversion`" echo "GTK support $gtk `echo_version $gtk $gtk_version`" echo "GTK GL support $gtk_gl" echo "GNUTLS support $gnutls"