From ec43d91a5846febc5fc80f9b884299ea935d7c45 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 10 May 2009 19:49:14 +0000 Subject: [PATCH] backout -r2827 and add correct fix --- auto/configure | 6 ++++++ auto/os/conf | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/auto/configure b/auto/configure index 9a72db42f..5e9c262bd 100755 --- 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 diff --git a/auto/os/conf b/auto/os/conf index 9bd5ee3c3..f4d08cb42 100644 --- 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 ;;