Mercurial > hg > nginx
comparison auto/lib/zlib/conf @ 282:30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 09 Mar 2004 19:47:07 +0000 |
parents | b6793bc5034b |
children | f81d075ad172 |
comparison
equal
deleted
inserted
replaced
281:014292b55158 | 282:30310107dbc9 |
---|---|
1 | 1 |
2 if [ $ZLIB != NONE ]; then | 2 if [ $ZLIB != NONE ]; then |
3 CORE_INCS="$CORE_INCS -I $ZLIB" | 3 CORE_INCS="$CORE_INCS -I $ZLIB" |
4 | 4 |
5 if [ "$PLATFORM" = "win32" ]; then | 5 case $CC in |
6 CORE_LIBS="$CORE_LIBS zlib.lib" | 6 |
7 CORE_LINK="$CORE_LINK -libpath:$ZLIB" | 7 cl) |
8 else | 8 LINK_DEPS="$LINK_DEPS $ZLIB/zlib.lib" |
9 LINK_DEPS="$LINK_DEPS $ZLIB/libz.a" | 9 CORE_LIBS="$CORE_LIBS zlib.lib" |
10 CORE_LIBS="$CORE_LIBS -L $ZLIB -lz" | 10 CORE_LINK="$CORE_LINK -libpath:$ZLIB" |
11 fi | 11 ;; |
12 | |
13 wcl386) | |
14 LINK_DEPS="$LINK_DEPS $ZLIB/zlib.lib" | |
15 CORE_LIBS="$CORE_LIBS $ZLIB/zlib.lib" | |
16 ;; | |
17 | |
18 *) | |
19 LINK_DEPS="$LINK_DEPS $ZLIB/libz.a" | |
20 CORE_LIBS="$CORE_LIBS -L $ZLIB -lz" | |
21 ;; | |
22 | |
23 esac | |
12 | 24 |
13 else | 25 else |
14 | 26 |
15 ngx_lib_inc="#include <zlib.h>" | 27 ngx_lib_inc="#include <zlib.h>" |
16 | 28 |