summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure b/configure
index bc4a822b60..460632c109 100755
--- a/configure
+++ b/configure
@@ -343,10 +343,12 @@ fi
_extralibdir=-L/usr/local/lib
_extraincdir=-I/usr/local/include
-if [ x"$_sdlconfig" = x"" -a "$system_name" = "FreeBSD" ]; then
-_sdlconfig='sdl11-config'
-else
-_sdlconfig='sdl-config'
+if [ x"$_sdlconfig" = x"" ]; then
+ if [ "$system_name" = "FreeBSD" ]; then
+ _sdlconfig='sdl11-config'
+ else
+ _sdlconfig='sdl-config'
+ fi
fi
# ---