[Qemu-devel] [PATCH 4/4] sdl: add deprecation warning for sdl1

Gerd Hoffmann posted 4 patches 8 years, 5 months ago
[Qemu-devel] [PATCH 4/4] sdl: add deprecation warning for sdl1
Posted by Gerd Hoffmann 8 years, 5 months ago
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 configure | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure b/configure
index 41c213b378..5af180c57d 100755
--- a/configure
+++ b/configure
@@ -5251,6 +5251,12 @@ if test "$gtkabi" = "2.0"; then
     echo "WARNING: Please consider using gtk3 instead."
 fi
 
+if test "$sdlabi" = "1.2"; then
+    echo
+    echo "WARNING: Support for SDL 1.2.x will be dropped in future releases."
+    echo "WARNING: Please consider using SDL 2.x instead."
+fi
+
 config_host_mak="config-host.mak"
 
 echo "# Automatically generated by configure - do not modify" >config-all-disas.mak
-- 
2.9.3