summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-10 19:49:14 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-05-10 19:49:14 +0000
commitec43d91a5846febc5fc80f9b884299ea935d7c45 (patch)
treece26fc667aad0f0926519de77d3847d2c97c1d92
parent393ce88261bbdbf681c1043d57f2116910fe8a12 (diff)
downloadnginx-ec43d91a5846febc5fc80f9b884299ea935d7c45.tar.gz
backout -r2827 and add correct fix
-rwxr-xr-xauto/configure6
-rw-r--r--auto/os/conf2
2 files changed, 7 insertions, 1 deletions
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
;;