From c734402a0ace606fca582e987a33d53351ef3248 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 14 Mar 2006 20:56:07 +0000 Subject: (svn r3869) -Fix: don't use OS in configure, some system have that defined ;) --- configure | 10 +++++----- 1 file 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" ;; -- cgit v1.2.3-70-g09d2