Configure: Bump minimum sdl2 version to 2.0.5

See: #109
This commit is contained in:
Jonathan G Rennison
2019-10-14 18:51:54 +01:00
parent c45d963b0f
commit 93dffed00a

View File

@@ -2906,11 +2906,11 @@ detect_sdl() {
if [ $with_sdl = "sdl1" ]; then if [ $with_sdl = "sdl1" ]; then
detect_pkg_config "2" "sdl" "sdl_config" "1.2" detect_pkg_config "2" "sdl" "sdl_config" "1.2"
elif [ $with_sdl = "sdl2" ]; then elif [ $with_sdl = "sdl2" ]; then
detect_pkg_config "2" "sdl2" "sdl2_config" "2.0" detect_pkg_config "2" "sdl2" "sdl2_config" "2.0.5"
else else
sdl2_config="" sdl2_config=""
if [ -x `which sdl2-config` ]; then if [ -x `which sdl2-config` ]; then
detect_pkg_config "$with_sdl" "sdl2" "sdl2_config" "2.0" detect_pkg_config "$with_sdl" "sdl2" "sdl2_config" "2.0.5"
fi fi
if [ -z "$sdl2_config" ]; then if [ -z "$sdl2_config" ]; then
detect_pkg_config "$with_sdl" "sdl" "sdl_config" "1.2" detect_pkg_config "$with_sdl" "sdl" "sdl_config" "1.2"