Mercurial > hg > nginx
comparison auto/lib/zlib/conf @ 307:ce375c313e96
nginx-0.0.3-2004-04-08-19:58:25 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 08 Apr 2004 15:58:25 +0000 |
parents | 6b91bfbc4123 |
children | d621239c30f7 |
comparison
equal
deleted
inserted
replaced
306:6b91bfbc4123 | 307:ce375c313e96 |
---|---|
32 | 32 |
33 esac | 33 esac |
34 | 34 |
35 else | 35 else |
36 | 36 |
37 ngx_lib_inc="#include <zlib.h>" | 37 if [ $PLATFORM != win32 ]; then |
38 ngx_lib_inc="#include <zlib.h>" | |
38 | 39 |
39 ngx_lib="zlib" | 40 ngx_lib="zlib library" |
40 ngx_lib_test="z_stream z; deflate(&z, Z_NO_FLUSH)" | 41 ngx_lib_test="z_stream z; deflate(&z, Z_NO_FLUSH)" |
41 ngx_libs=-lz | 42 ngx_libs=-lz |
42 . auto/lib/test | 43 . auto/lib/test |
43 | 44 |
44 | 45 |
45 if [ $ngx_found = yes ]; then | 46 if [ $ngx_found = yes ]; then |
46 CORE_LIBS="$CORE_LIBS $ngx_libs" | 47 CORE_LIBS="$CORE_LIBS $ngx_libs" |
47 ZLIB=YES | 48 ZLIB=YES |
48 else | 49 else |
49 ZLIB=NO | 50 ZLIB=NO |
51 fi | |
50 fi | 52 fi |
51 | 53 |
52 fi | 54 fi |