mirror of https://github.com/mpv-player/mpv
Added workaround for buggy SDL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@705 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
54f2bbe149
commit
0cbbca1277
|
@ -410,6 +410,11 @@ $_cc $TMPC -o $TMPO -lpthread &> /dev/null || \
|
||||||
_sdl=no
|
_sdl=no
|
||||||
if $_cc $TMPC -o $TMPO -L/usr/lib/ -L/usr/local/lib/ -lSDL -lpthread &> /dev/null ; then
|
if $_cc $TMPC -o $TMPO -L/usr/lib/ -L/usr/local/lib/ -lSDL -lpthread &> /dev/null ; then
|
||||||
if test `sdl-config --version | sed s/[=[:punct:]=]//g` -gt 116 ; then
|
if test `sdl-config --version | sed s/[=[:punct:]=]//g` -gt 116 ; then
|
||||||
|
if test `sdl-config --version | sed s/[=[:punct:]=]//g` -lt 121 ; then
|
||||||
|
_sdlbuggy='#define BUGGY_SDL'
|
||||||
|
else
|
||||||
|
_sdlbuggy='#undef BUGGY_SDL'
|
||||||
|
fi
|
||||||
_sdl=yes
|
_sdl=yes
|
||||||
else
|
else
|
||||||
_sdl=outdated
|
_sdl=outdated
|
||||||
|
@ -1061,6 +1066,8 @@ $_gl
|
||||||
$_dga
|
$_dga
|
||||||
$_dga2
|
$_dga2
|
||||||
$_sdldef
|
$_sdldef
|
||||||
|
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
|
||||||
|
$_sdlbuggy
|
||||||
$_3dfx
|
$_3dfx
|
||||||
$_mga
|
$_mga
|
||||||
$_syncfb
|
$_syncfb
|
||||||
|
|
Loading…
Reference in New Issue