comparison auto/lib/zlib/conf @ 210:00cafae0bdf1

nginx-0.0.1-2003-12-14-23:10:27 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 14 Dec 2003 20:10:27 +0000
parents
children b6793bc5034b
comparison
equal deleted inserted replaced
209:e1c815be05ae 210:00cafae0bdf1
1
2 if [ $ZLIB != NO ]; then
3 CORE_INCS="$CORE_INCS -I $ZLIB"
4
5 if [ "$PLATFORM" = "win32" ]; then
6 CORE_LIBS="$CORE_LIBS zlib.lib"
7 CORE_LINK="$CORE_LINK -libpath:$ZLIB"
8 else
9 LINK_DEPS="$LINK_DEPS $ZLIB/libz.a"
10 CORE_LIBS="$CORE_LIBS -L $ZLIB -lz"
11 fi
12
13 else
14
15 ngx_lib_inc="#include <zlib.h>"
16
17 ngx_lib="zlib"
18 ngx_lib_test="z_stream z; deflate(&z, Z_NO_FLUSH)"
19 ngx_libs=-lz
20 . auto/lib/test
21
22
23 if [ $ngx_found = yes ]; then
24 CORE_LIBS="$CORE_LIBS $ngx_libs"
25 ZLIB=YES
26 fi
27
28 fi