aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJohannes Schickel2015-02-16 02:32:27 +0100
committerJohannes Schickel2015-02-16 02:32:27 +0100
commit6ed60538c68a4ec098da30cad39c16770610e5e3 (patch)
tree129e608621dec5ad9d6920b01321a31c43c4dc78 /configure
parent3745ddbefd6ab401458b862d124ebe80592a88bc (diff)
downloadscummvm-rg350-6ed60538c68a4ec098da30cad39c16770610e5e3.tar.gz
scummvm-rg350-6ed60538c68a4ec098da30cad39c16770610e5e3.tar.bz2
scummvm-rg350-6ed60538c68a4ec098da30cad39c16770610e5e3.zip
CONFIGURE: Make SDL_CONFIG override work with a MinGW host.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 3e85e42054..3835342395 100755
--- a/configure
+++ b/configure
@@ -171,7 +171,7 @@ _stagingpath="staging"
_win32path="c:/scummvm"
_amigaospath="Games:ScummVM"
_staticlibpath=
-_sdlconfig="$SDL_CONFIG"
+_sdlconfig=sdl-config
_freetypeconfig=freetype-config
_sdlpath="$PATH"
_freetypepath="$PATH"
@@ -354,7 +354,7 @@ define_in_config_if_yes() {
# TODO: small bit of code to test sdl usability
find_sdlconfig() {
echo_n "Looking for sdl-config... "
- sdlconfigs="$_sdlconfig:sdl-config:sdl11-config:sdl12-config"
+ sdlconfigs="$SDL_CONFIG:$_sdlconfig:sdl-config:sdl11-config:sdl12-config"
_sdlconfig=
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$SEPARATOR"