changeset 2828:f5c80c69a72e

backout -r2827 and add correct fix
author Igor Sysoev <igor@sysoev.ru>
date Sun, 10 May 2009 19:49:14 +0000
parents 548c8219ffcc
children a1e44954549c
files auto/configure auto/os/conf
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/auto/configure
+++ b/auto/configure
@@ -31,6 +31,12 @@ if test -z "$NGX_PLATFORM"; then
 
     NGX_PLATFORM="$NGX_SYSTEM:$NGX_RELEASE:$NGX_MACHINE";
 
+    case "$NGX_SYSTEM" in
+        MINGW32_*)
+            NGX_PLATFORM=win32
+        ;;
+    esac
+
 else
     echo "building for $NGX_PLATFORM"
     NGX_SYSTEM=$NGX_PLATFORM
--- a/auto/os/conf
+++ b/auto/os/conf
@@ -22,7 +22,7 @@ case "$NGX_PLATFORM" in
         . auto/os/darwin
     ;;
 
-    win32 | MINGW32_* )
+    win32)
         . auto/os/win32
     ;;