summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-03-14 20:56:07 +0000
committertruelight <truelight@openttd.org>2006-03-14 20:56:07 +0000
commitc734402a0ace606fca582e987a33d53351ef3248 (patch)
tree72b02ed84b5682ef14fbaf59510569f8b68055dc /configure
parenta1e68882c87157b2b586d80cd55fab4818111cf5 (diff)
downloadopenttd-c734402a0ace606fca582e987a33d53351ef3248.tar.xz
(svn r3869) -Fix: don't use OS in configure, some system have that defined ;)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index 71e9fde91..dd25d61a5 100755
--- a/configure
+++ b/configure
@@ -87,10 +87,10 @@ do
ITEM="CC_HOST"
;;
--os=*)
- OS=`awk 'BEGIN { FS="="; $0="'$n'"; print $2;}'`
+ TARGET_OS=`awk 'BEGIN { FS="="; $0="'$n'"; print $2;}'`
;;
--os)
- SITEM="OS"
+ SITEM="TARGET_OS"
;;
--windres=*)
handle WINDRES $n
@@ -187,10 +187,10 @@ do
esac
done
-if ! test -z "$OS"
+if ! test -z "$TARGET_OS"
then
- OS=`echo $OS | tr '[:lower:]' '[:upper:]'`
- case "$OS" in
+ TARGET_OS=`echo $TARGET_OS | tr '[:lower:]' '[:upper:]'`
+ case "$TARGET_OS" in
WIN32)
PARAM="$PARAM WIN32=1"
;;