configure
changeset 11263 f85618f8ba81
parent 11245 283194179512
child 11265 9152aa462a82
equal deleted inserted replaced
11262:8e5441ab6c63 11263:f85618f8ba81
 23553                 # Android
 23553                 # Android
 23554                 ARCH=android
 23554                 ARCH=android
 23555                 ANDROID_CFLAGS="-DGL_GLEXT_PROTOTYPES"
 23555                 ANDROID_CFLAGS="-DGL_GLEXT_PROTOTYPES"
 23556                 CFLAGS="$CFLAGS $ANDROID_CFLAGS"
 23556                 CFLAGS="$CFLAGS $ANDROID_CFLAGS"
 23557                 SDL_CFLAGS="$SDL_CFLAGS $ANDROID_CFLAGS"
 23557                 SDL_CFLAGS="$SDL_CFLAGS $ANDROID_CFLAGS"
       
 23558                 SDL_LIBS="$SDL_LIBS -lSDL2main -Wl,-u,SDL_main_dummy"
 23558                 EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
 23559                 EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
 23559                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
 23560                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
       
 23561                 SDLMAIN_SOURCES="$srcdir/src/main/android/*.c"
 23560 
 23562 
 23561                 if test x$enable_video = xyes; then
 23563                 if test x$enable_video = xyes; then
 23562                     SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
 23564                     SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
 23563                     # FIXME: confdefs? Not AC_DEFINE?
 23565                     # FIXME: confdefs? Not AC_DEFINE?
 23564                     $as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
 23566                     $as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h