qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH for 2.8 2/3] configure: Add CONFIG_SDL2


From: Fam Zheng
Subject: [Qemu-devel] [PATCH for 2.8 2/3] configure: Add CONFIG_SDL2
Date: Wed, 27 Jul 2016 14:26:16 +0800

C code can test ABI version with this macro.

Signed-off-by: Fam Zheng <address@hidden>
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 879324b..e04e59f 100755
--- a/configure
+++ b/configure
@@ -5069,6 +5069,10 @@ if test "$sdl" = "yes" ; then
   echo "CONFIG_SDLABI=$sdlabi" >> $config_host_mak
   echo "SDL_CFLAGS=$sdl_cflags" >> $config_host_mak
 fi
+if test "$sdlabi" = "2.0"; then
+  echo "CONFIG_SDL2=y" >> $config_host_mak
+fi
+
 if test "$cocoa" = "yes" ; then
   echo "CONFIG_COCOA=y" >> $config_host_mak
 fi
-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]