aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBastien Bouclet2011-06-02 10:03:01 +0200
committerBastien Bouclet2011-06-22 19:44:46 +0200
commit872d672c335febce0c1d5dff3843b00c0016fce2 (patch)
tree97b3284ccdf4f6bf3b76df0ce96e85028cbe8985 /configure
parentcb37f4517baa4435c7cc0774d5a830173a6dc0db (diff)
downloadscummvm-rg350-872d672c335febce0c1d5dff3843b00c0016fce2.tar.gz
scummvm-rg350-872d672c335febce0c1d5dff3843b00c0016fce2.tar.bz2
scummvm-rg350-872d672c335febce0c1d5dff3843b00c0016fce2.zip
SDL: Allow building with current SDL 1.3hg
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 0afdbfe7c8..0dad21efbd 100755
--- a/configure
+++ b/configure
@@ -2379,6 +2379,15 @@ case $_backend in
LIBS="$LIBS `$_sdlconfig --prefix="$_sdlpath" --libs`"
DEFINES="$DEFINES -DSDL_BACKEND"
add_line_to_config_mk "SDL_BACKEND = 1"
+
+ _sdlversion=`$_sdlconfig --version`
+ case $_sdlversion in
+ 1.3.*)
+ add_line_to_config_mk "USE_SDL13 = 1"
+ ;;
+ *)
+ ;;
+ esac
;;
esac