[Scummvm-git-logs] scummvm master -> 33fae235942940a6646e4e2b0e27b277c68671f2
sev-
noreply at scummvm.org
Sat Jul 2 20:49:36 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
33fae23594 CONFIGURE: Fix compilation with SDL 2.23.0 or later
Commit: 33fae235942940a6646e4e2b0e27b277c68671f2
https://github.com/scummvm/scummvm/commit/33fae235942940a6646e4e2b0e27b277c68671f2
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2022-07-02T22:49:33+02:00
Commit Message:
CONFIGURE: Fix compilation with SDL 2.23.0 or later
Changed paths:
configure
diff --git a/configure b/configure
index 24be8054cea..5c232974100 100755
--- a/configure
+++ b/configure
@@ -3838,13 +3838,17 @@ if test "$_sdl" = yes ; then
append_var INCLUDES "$SDL_CFLAGS"
append_var LIBS "$SDL_LIBS"
case $_sdlversion in
- 2.0.*)
+ 2.*.*)
add_line_to_config_mk "USE_SDL2 = 1"
_sdlMajorVersionNumber=2
;;
- *)
+ 1.2.*)
_sdlMajorVersionNumber=1
;;
+ *)
+ echo "support for SDL $_sdlversion not implemented yet"
+ exit 1
+ ;;
esac
fi
@@ -5413,7 +5417,7 @@ if test "$_opengl_mode" != none ; then
_opengl_mode=gl
;;
- 2.0.*)
+ *)
# SDL2 supports both OpenGL + OpenGL ES contexts.
# However, macOS only allows OpenGL context creation at
# this time, thus we limit us to OpenGL on that platform.
@@ -5539,12 +5543,6 @@ fi
_opengl=yes
case $_opengl_mode in
- auto)
- # This case should never occur but better safe than sorry.
- echo "no"
- _opengl=no
- ;;
-
none)
echo "no"
_opengl=no
More information about the Scummvm-git-logs
mailing list