diff mbox

[4/4] sdl: add deprecation warning for sdl1

Message ID 20170606105339.3613-5-kraxel@redhat.com
State New
Headers show

Commit Message

Gerd Hoffmann June 6, 2017, 10:53 a.m. UTC
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 configure | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox

Patch

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