summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoratmosfear <atmosfear@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-05 21:37:37 +0000
committeratmosfear <atmosfear@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-05 21:37:37 +0000
commit0cbbca1277dc2efb55df56c000cefcdee9c27a55 (patch)
treeb6af4320112245ea67d79bded4d1bac1d47d3181 /configure
parent54f2bbe14962d0c69778a3500d681bf2bc9ddd5c (diff)
downloadmpv-0cbbca1277dc2efb55df56c000cefcdee9c27a55.tar.bz2
mpv-0cbbca1277dc2efb55df56c000cefcdee9c27a55.tar.xz
Added workaround for buggy SDL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@705 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 5d12402529..a44ccd81c1 100755
--- a/configure
+++ b/configure
@@ -410,6 +410,11 @@ $_cc $TMPC -o $TMPO -lpthread &> /dev/null || \
_sdl=no
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` -lt 121 ; then
+ _sdlbuggy='#define BUGGY_SDL'
+ else
+ _sdlbuggy='#undef BUGGY_SDL'
+ fi
_sdl=yes
else
_sdl=outdated
@@ -1061,6 +1066,8 @@ $_gl
$_dga
$_dga2
$_sdldef
+/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
+$_sdlbuggy
$_3dfx
$_mga
$_syncfb