summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/zlib
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-04-08 15:58:25 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-04-08 15:58:25 +0000
commitfff32326ca9009ebba0aadd24aa0683afe0d4a02 (patch)
treeac738d570dd46b0ef6b15b09b42d9956245f5005 /auto/lib/zlib
parent9a864bd8f87efd0fa23f552d4277475dd76bcea4 (diff)
downloadnginx-fff32326ca9009ebba0aadd24aa0683afe0d4a02.tar.gz
nginx-fff32326ca9009ebba0aadd24aa0683afe0d4a02.tar.bz2
nginx-0.0.3-2004-04-08-19:58:25 import
Diffstat (limited to 'auto/lib/zlib')
-rw-r--r--auto/lib/zlib/conf22
1 files changed, 12 insertions, 10 deletions
diff --git a/auto/lib/zlib/conf b/auto/lib/zlib/conf
index 7376abd70..9c2178fad 100644
--- a/auto/lib/zlib/conf
+++ b/auto/lib/zlib/conf
@@ -34,19 +34,21 @@ if [ $ZLIB != NONE ]; then
else
- ngx_lib_inc="#include <zlib.h>"
+ if [ $PLATFORM != win32 ]; then
+ ngx_lib_inc="#include <zlib.h>"
- ngx_lib="zlib"
- ngx_lib_test="z_stream z; deflate(&z, Z_NO_FLUSH)"
- ngx_libs=-lz
- . auto/lib/test
+ ngx_lib="zlib library"
+ ngx_lib_test="z_stream z; deflate(&z, Z_NO_FLUSH)"
+ ngx_libs=-lz
+ . auto/lib/test
- if [ $ngx_found = yes ]; then
- CORE_LIBS="$CORE_LIBS $ngx_libs"
- ZLIB=YES
- else
- ZLIB=NO
+ if [ $ngx_found = yes ]; then
+ CORE_LIBS="$CORE_LIBS $ngx_libs"
+ ZLIB=YES
+ else
+ ZLIB=NO
+ fi
fi
fi