mirror of https://github.com/OpenTTD/OpenTTD
(svn r3869) -Fix: don't use OS in configure, some system have that defined ;)
parent
a1e68882c8
commit
c734402a0a
|
@ -87,10 +87,10 @@ do
|
||||||
ITEM="CC_HOST"
|
ITEM="CC_HOST"
|
||||||
;;
|
;;
|
||||||
--os=*)
|
--os=*)
|
||||||
OS=`awk 'BEGIN { FS="="; $0="'$n'"; print $2;}'`
|
TARGET_OS=`awk 'BEGIN { FS="="; $0="'$n'"; print $2;}'`
|
||||||
;;
|
;;
|
||||||
--os)
|
--os)
|
||||||
SITEM="OS"
|
SITEM="TARGET_OS"
|
||||||
;;
|
;;
|
||||||
--windres=*)
|
--windres=*)
|
||||||
handle WINDRES $n
|
handle WINDRES $n
|
||||||
|
@ -187,10 +187,10 @@ do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if ! test -z "$OS"
|
if ! test -z "$TARGET_OS"
|
||||||
then
|
then
|
||||||
OS=`echo $OS | tr '[:lower:]' '[:upper:]'`
|
TARGET_OS=`echo $TARGET_OS | tr '[:lower:]' '[:upper:]'`
|
||||||
case "$OS" in
|
case "$TARGET_OS" in
|
||||||
WIN32)
|
WIN32)
|
||||||
PARAM="$PARAM WIN32=1"
|
PARAM="$PARAM WIN32=1"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue