Enhance config script to allow selecting SDL1 or 2 backends
This commit is contained in:
@@ -75,6 +75,21 @@ case "$HOST_SYSTEM" in
|
||||
esac
|
||||
|
||||
|
||||
### SDL2 ###
|
||||
LIB_SDL2_NAME="Simple DirectMedia Layer version 2.x"
|
||||
case "$HOST_SYSTEM" in
|
||||
WINSCW|GCCE|ARMV5)
|
||||
LIB_SDL2_DETECT="false"
|
||||
;;
|
||||
*)
|
||||
LIB_SDL2_DETECT="have_command sdl2-config"
|
||||
LIB_SDL2_CFLAGS='$(sdl2-config --cflags)'
|
||||
LIB_SDL2_LDFLAGS='$(sdl2-config --libs)'
|
||||
LIB_SDL2_VERSION='$(sdl2-config --version)'
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
### libpng ###
|
||||
LIB_libpng_NAME="libpng"
|
||||
# libpng generally integrates with pkg-config, but that also generally
|
||||
|
||||
Reference in New Issue
Block a user