mirror of https://github.com/encounter/SDL.git
configure.ac: use AC_DEFINE for SDL_VIDEO_DRIVER_ANDROID
This commit is contained in:
parent
3c2757ff89
commit
f8078d3d6c
|
@ -24704,11 +24704,11 @@ case "$host" in
|
|||
EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
|
||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
|
||||
SDLMAIN_SOURCES="$srcdir/src/main/android/*.c"
|
||||
|
||||
if test x$enable_video = xyes; then
|
||||
SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
|
||||
# FIXME: confdefs? Not AC_DEFINE?
|
||||
$as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
|
||||
|
||||
$as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
|
||||
|
||||
SUMMARY_video="${SUMMARY_video} android"
|
||||
fi
|
||||
;;
|
||||
|
|
|
@ -3514,11 +3514,9 @@ case "$host" in
|
|||
EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
|
||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
|
||||
SDLMAIN_SOURCES="$srcdir/src/main/android/*.c"
|
||||
|
||||
if test x$enable_video = xyes; then
|
||||
SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
|
||||
# FIXME: confdefs? Not AC_DEFINE?
|
||||
$as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
|
||||
AC_DEFINE(SDL_VIDEO_DRIVER_ANDROID, 1, [ ])
|
||||
SUMMARY_video="${SUMMARY_video} android"
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue