diff options
author | truelight <truelight@openttd.org> | 2006-03-14 20:56:07 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-03-14 20:56:07 +0000 |
commit | 755fff761b9b3ac5e4de4836cccaa3196785c8d7 (patch) | |
tree | 72b02ed84b5682ef14fbaf59510569f8b68055dc /configure | |
parent | 1dd104e09a8057a02221d9e5eb633bebd120e400 (diff) | |
download | openttd-755fff761b9b3ac5e4de4836cccaa3196785c8d7.tar.xz |
(svn r3869) -Fix: don't use OS in configure, some system have that defined ;)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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" ;; |