aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMatthew Hoops2010-11-09 05:21:07 +0000
committerMatthew Hoops2010-11-09 05:21:07 +0000
commit4a5b01e3bb530f47ea41e3fabb9a485d4b9a2453 (patch)
tree55627913bd06a839dc137b5950d379f31bd2b060 /configure
parent059944e59cc7f3b84fabb1210b6c1fb0aacc549e (diff)
downloadscummvm-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-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index a3f0d101e5..a3d42e2a59 100755
--- a/configure
+++ b/configure
@@ -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"