aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMax Horn2011-05-31 00:25:40 +0200
committerMax Horn2011-05-31 00:25:40 +0200
commit127a6f920a649e4f981ba6d3333dac516dfbb258 (patch)
treeae83d94c99ab2ba037b56d20272ecb6f82e6edbe /configure
parentf7e94e90b67dd21058ede1ae69283592a88bed7d (diff)
downloadscummvm-rg350-127a6f920a649e4f981ba6d3333dac516dfbb258.tar.gz
scummvm-rg350-127a6f920a649e4f981ba6d3333dac516dfbb258.tar.bz2
scummvm-rg350-127a6f920a649e4f981ba6d3333dac516dfbb258.zip
BUILD: Add SDL_BACKEND=1 to config.mk for all SDL based backends
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 299e9927aa..6ae3cce8b6 100755
--- a/configure
+++ b/configure
@@ -2287,8 +2287,9 @@ case $_backend in
webos)
# There is no sdl-config in the WebOS PDK so we don't use find_sdlconfig here.
LIBS="$LIBS -lSDL"
- DEFINES="$DEFINES -DSDL_BACKEND"
DEFINES="$DEFINES -DWEBOS"
+ DEFINES="$DEFINES -DSDL_BACKEND"
+ add_line_to_config_mk "SDL_BACKEND = 1"
MODULES="$MODULES backends/platform/sdl"
;;
wii)
@@ -2309,6 +2310,7 @@ case $_backend in
INCLUDES="$INCLUDES "'-I$(srcdir)/backends/platform/wince/CEkeys'
LIBS="$LIBS -static -lSDL"
DEFINES="$DEFINES -DSDL_BACKEND"
+ add_line_to_config_mk "SDL_BACKEND = 1"
;;
sdl)
;;
@@ -2328,6 +2330,7 @@ case $_backend in
INCLUDES="$INCLUDES `$_sdlconfig --prefix="$_sdlpath" --cflags`"
LIBS="$LIBS `$_sdlconfig --prefix="$_sdlpath" --libs`"
DEFINES="$DEFINES -DSDL_BACKEND"
+ add_line_to_config_mk "SDL_BACKEND = 1"
;;
esac