configure: report SDL version
Signed-off-by: Cole Robinson <crobinso@redhat.com> Message-id: 98e4a3b98dc824bfaff96db43b172272c780c15f.1462557436.git.crobinso@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
f2a4e54828
commit
d6a6dba359
8
configure
vendored
8
configure
vendored
@ -2448,10 +2448,10 @@ fi
|
|||||||
|
|
||||||
if $pkg_config $sdlname --exists; then
|
if $pkg_config $sdlname --exists; then
|
||||||
sdlconfig="$pkg_config $sdlname"
|
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
|
elif has ${sdl_config}; then
|
||||||
sdlconfig="$sdl_config"
|
sdlconfig="$sdl_config"
|
||||||
_sdlversion=`$sdlconfig --version | sed 's/[^0-9]//g'`
|
sdlversion=`$sdlconfig --version`
|
||||||
else
|
else
|
||||||
if test "$sdl" = "yes" ; then
|
if test "$sdl" = "yes" ; then
|
||||||
feature_not_found "sdl" "Install SDL devel"
|
feature_not_found "sdl" "Install SDL devel"
|
||||||
@ -2476,7 +2476,7 @@ EOF
|
|||||||
sdl_libs=`$sdlconfig --libs 2> /dev/null`
|
sdl_libs=`$sdlconfig --libs 2> /dev/null`
|
||||||
fi
|
fi
|
||||||
if compile_prog "$sdl_cflags" "$sdl_libs" ; then
|
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
|
sdl_too_old=yes
|
||||||
else
|
else
|
||||||
sdl=yes
|
sdl=yes
|
||||||
@ -4786,7 +4786,7 @@ if test "$darwin" = "yes" ; then
|
|||||||
echo "Cocoa support $cocoa"
|
echo "Cocoa support $cocoa"
|
||||||
fi
|
fi
|
||||||
echo "pixman $pixman"
|
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 support $gtk `echo_version $gtk $gtk_version`"
|
||||||
echo "GTK GL support $gtk_gl"
|
echo "GTK GL support $gtk_gl"
|
||||||
echo "GNUTLS support $gnutls"
|
echo "GNUTLS support $gnutls"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user