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 | c734402a0ace606fca582e987a33d53351ef3248 (patch) | |
tree | 72b02ed84b5682ef14fbaf59510569f8b68055dc /configure | |
parent | a1e68882c87157b2b586d80cd55fab4818111cf5 (diff) | |
download | openttd-c734402a0ace606fca582e987a33d53351ef3248.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" ;; |