changeset 704:caf498160368

Added workaround for buggy SDL.
author atmosfear
date Sat, 05 May 2001 21:37:37 +0000
parents fcc01494c0fe
children 27d351f251eb
files configure
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat May 05 20:13:37 2001 +0000
+++ b/configure	Sat May 05 21:37:37 2001 +0000
@@ -410,6 +410,11 @@
 _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 @@
 $_dga
 $_dga2
 $_sdldef
+/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
+$_sdlbuggy
 $_3dfx
 $_mga
 $_syncfb