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
commit755fff761b9b3ac5e4de4836cccaa3196785c8d7 (patch)
tree72b02ed84b5682ef14fbaf59510569f8b68055dc /configure
parent1dd104e09a8057a02221d9e5eb633bebd120e400 (diff)
downloadopenttd-755fff761b9b3ac5e4de4836cccaa3196785c8d7.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"
;;