[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 07/10] configure: report SDL version
From: |
Cole Robinson |
Subject: |
[Qemu-devel] [PATCH 07/10] configure: report SDL version |
Date: |
Fri, 6 May 2016 14:03:11 -0400 |
Signed-off-by: Cole Robinson <address@hidden>
---
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"
--
2.7.4
- [Qemu-devel] [PATCH 00/10] ui: gtk and sdl2 fixes, Cole Robinson, 2016/05/06
- [Qemu-devel] [PATCH 01/10] ui: gtk: fix crash when terminal inner-border is NULL, Cole Robinson, 2016/05/06
- [Qemu-devel] [PATCH 05/10] configure: add echo_version helper, Cole Robinson, 2016/05/06
- [Qemu-devel] [PATCH 02/10] ui: sdl2: Release grab before opening console window, Cole Robinson, 2016/05/06
- [Qemu-devel] [PATCH 07/10] configure: report SDL version,
Cole Robinson <=
- [Qemu-devel] [PATCH 06/10] configure: report GTK version, Cole Robinson, 2016/05/06
- [Qemu-devel] [PATCH 10/10] ui: gtk: Fix some deprecation warnings, Cole Robinson, 2016/05/06
- [Qemu-devel] [PATCH 03/10] configure: build SDL if only SDL2 available, Cole Robinson, 2016/05/06
- [Qemu-devel] [PATCH 08/10] configure: support vte-2.91, Cole Robinson, 2016/05/06
- [Qemu-devel] [PATCH 04/10] configure: error on unknown --with-sdlabi value, Cole Robinson, 2016/05/06
- [Qemu-devel] [PATCH 09/10] ui: gtk: Fix a runtime warning on vte >= 0.37, Cole Robinson, 2016/05/06