From 4a5b01e3bb530f47ea41e3fabb9a485d4b9a2453 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 9 Nov 2010 05:21:07 +0000 Subject: CONFIGURE: Define SDL_BACKEND for GP2X/GPH/WINCE backends This should fix compilation on those systems. svn-id: r54149 --- configure | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure') 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" -- cgit v1.2.3