Fixed Eric's changes to allow building from the command line.
authorSam Lantinga <slouken@libsdl.org>
Sun, 09 May 2010 10:00:33 -0700
changeset 4454be387681d876
parent 4453 37fc6a354dc7
child 4455 6cf71111cf68
Fixed Eric's changes to allow building from the command line.
configure.in
src/file/SDL_rwops.c
     1.1 --- a/configure.in	Sun May 09 09:53:57 2010 -0700
     1.2 +++ b/configure.in	Sun May 09 10:00:33 2010 -0700
     1.3 @@ -2652,6 +2652,10 @@
     1.4              SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
     1.5              have_timers=yes
     1.6          fi
     1.7 +        # Set up additional files for the file library
     1.8 +        if test x$enable_file = xyes; then
     1.9 +            SOURCES="$SOURCES $srcdir/src/file/cocoa/*.m"
    1.10 +        fi
    1.11          # The Mac OS X platform requires special setup.
    1.12          EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
    1.13          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lobjc"
     2.1 --- a/src/file/SDL_rwops.c	Sun May 09 09:53:57 2010 -0700
     2.2 +++ b/src/file/SDL_rwops.c	Sun May 09 10:00:33 2010 -0700
     2.3 @@ -29,7 +29,7 @@
     2.4  #include "SDL_rwops.h"
     2.5  
     2.6  #ifdef __APPLE__
     2.7 -#include "SDL_rwopsbundlesupport.h"
     2.8 +#include "cocoa/SDL_rwopsbundlesupport.h"
     2.9  #endif /* __APPLE__ */
    2.10  
    2.11  #ifdef __NDS__