summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Degawa <ccom@randomderp.com>2022-05-11 15:11:04 -0500
committerTimo Rothenpieler <timo.rothenpieler@uni-bremen.de>2022-06-10 13:59:12 +0200
commitdcf25ec8859f39bb7f94b141ad5e323c58aa28c6 (patch)
treebb4ccd14f406663d94f2f77da9ee4964b3b36edb
parent742e66f4421ed523a1ada0646feb51e3224494f2 (diff)
downloadffmpeg-dcf25ec8859f39bb7f94b141ad5e323c58aa28c6.tar.gz
configure: extend SDL check to accept all 2.x versions
sdl2 recently changed their versioning, moving the patch level to minor level https://github.com/libsdl-org/SDL/commit/cd7c2f1de7d9e418bb554047d714dd7cacc020ff and have said that they will instead ship sdl3.pc for 3.0.0 Fixes ticket 9768 Signed-off-by: Christopher Degawa <ccom@randomderp.com> Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9a8a368a12..e317ca54ce 100755
--- a/configure
+++ b/configure
@@ -6256,7 +6256,7 @@ fi
if enabled sdl2; then
SDL2_CONFIG="${cross_prefix}sdl2-config"
- test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 2.1.0" SDL_events.h SDL_PollEvent
+ test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 3.0.0" SDL_events.h SDL_PollEvent
if disabled sdl2 && "${SDL2_CONFIG}" --version > /dev/null 2>&1; then
sdl2_cflags=$("${SDL2_CONFIG}" --cflags)
sdl2_extralibs=$("${SDL2_CONFIG}" --libs)