diff options
author | Matthew Hoops | 2010-11-09 05:21:07 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-11-09 05:21:07 +0000 |
commit | 4a5b01e3bb530f47ea41e3fabb9a485d4b9a2453 (patch) | |
tree | 55627913bd06a839dc137b5950d379f31bd2b060 /configure | |
parent | 059944e59cc7f3b84fabb1210b6c1fb0aacc549e (diff) | |
download | scummvm-rg350-4a5b01e3bb530f47ea41e3fabb9a485d4b9a2453.tar.gz scummvm-rg350-4a5b01e3bb530f47ea41e3fabb9a485d4b9a2453.tar.bz2 scummvm-rg350-4a5b01e3bb530f47ea41e3fabb9a485d4b9a2453.zip |
CONFIGURE: Define SDL_BACKEND for GP2X/GPH/WINCE backends
This should fix compilation on those systems.
svn-id: r54149
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2846,12 +2846,14 @@ case $_backend in INCLUDES="$INCLUDES `$_sdlconfig --prefix="$_sdlpath" --cflags`" LIBS="$LIBS `$_sdlconfig --prefix="$_sdlpath" --libs`" LDFLAGS="$LDFLAGS" + DEFINES="$DEFINES -DSDL_BACKEND" ;; gph) find_sdlconfig INCLUDES="$INCLUDES `$_sdlconfig --prefix="$_sdlpath" --cflags`" LIBS="$LIBS `$_sdlconfig --prefix="$_sdlpath" --libs`" LDFLAGS="$LDFLAGS" + DEFINES="$DEFINES -DSDL_BACKEND" ;; iphone) OBJCFLAGS="$OBJCFLAGS --std=c99" @@ -2921,6 +2923,7 @@ case $_backend in wince) INCLUDES="$INCLUDES "'-I$(srcdir) -I$(srcdir)/backends/platform/wince -I$(srcdir)/engines -I$(srcdir)/backends/platform/wince/missing/gcc -I$(srcdir)/backends/platform/wince/CEgui -I$(srcdir)/backends/platform/wince/CEkeys' LIBS="$LIBS -static -lSDL" + DEFINES="$DEFINES -DSDL_BACKEND" ;; *) echo "support for $_backend backend not implemented in configure script yet" |