summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOzkan Sezer <sezeroz@gmail.com>2020-12-14 05:55:20 +0300
committerOzkan Sezer <sezeroz@gmail.com>2020-12-14 05:55:20 +0300
commit7514af1b29c2a87e79bc80e56e2ba244c3f53061 (patch)
treea9645fe197b25b3d7b5c234d5409e52c35021a04 /configure
parentbf1c1767fcce421cd505772184f163947926b479 (diff)
downloadsdl-7514af1b29c2a87e79bc80e56e2ba244c3f53061.tar.gz
configure.ac: use AC_DEFINE for SDL_VIDEO_DRIVER_ANDROID
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 5fa4276b3..96414e209 100755
--- a/configure
+++ b/configure
@@ -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
;;