mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
configure.ac: use AC_DEFINE for SDL_VIDEO_DRIVER_ANDROID
This commit is contained in:
parent
3c2757ff89
commit
f8078d3d6c
6
configure
vendored
6
configure
vendored
@ -24704,11 +24704,11 @@ case "$host" in
|
|||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
|
||||||
SDLMAIN_SOURCES="$srcdir/src/main/android/*.c"
|
SDLMAIN_SOURCES="$srcdir/src/main/android/*.c"
|
||||||
|
|
||||||
if test x$enable_video = xyes; then
|
if test x$enable_video = xyes; then
|
||||||
SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
|
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"
|
SUMMARY_video="${SUMMARY_video} android"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
@ -3514,11 +3514,9 @@ case "$host" in
|
|||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS $ANDROID_CFLAGS"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldl -lGLESv1_CM -lGLESv2 -llog -landroid"
|
||||||
SDLMAIN_SOURCES="$srcdir/src/main/android/*.c"
|
SDLMAIN_SOURCES="$srcdir/src/main/android/*.c"
|
||||||
|
|
||||||
if test x$enable_video = xyes; then
|
if test x$enable_video = xyes; then
|
||||||
SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
|
SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
|
||||||
# FIXME: confdefs? Not AC_DEFINE?
|
AC_DEFINE(SDL_VIDEO_DRIVER_ANDROID, 1, [ ])
|
||||||
$as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
|
|
||||||
SUMMARY_video="${SUMMARY_video} android"
|
SUMMARY_video="${SUMMARY_video} android"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user