aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2006-04-27 19:55:09 +0000
committerWillem Jan Palenstijn2006-04-27 19:55:09 +0000
commit6330e6585225c40b63818eb3ee608b144704493f (patch)
treedf43a9222caeb702d18a83692816e8ee51affd7f
parentcf13cf3a706dba93b39b3fdc1176b91c569575d1 (diff)
downloadscummvm-rg350-6330e6585225c40b63818eb3ee608b144704493f.tar.gz
scummvm-rg350-6330e6585225c40b63818eb3ee608b144704493f.tar.bz2
scummvm-rg350-6330e6585225c40b63818eb3ee608b144704493f.zip
return first sdl-config found in PATH
svn-id: r22193
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index f796df6235..3afa02a4e3 100755
--- a/configure
+++ b/configure
@@ -163,7 +163,8 @@ find_sdlconfig()
if test -x "$path_dir/$sdlconfig" ; then
_sdlconfig="$path_dir/$sdlconfig"
echo $_sdlconfig
- break
+ # break at first sdl-config found in path
+ break 2
fi
done
done