Mercurial > hg > nginx-quic
view auto/lib/zlib/conf @ 283:8f65fee68270
nginx-0.0.2-2004-03-10-20:55:19 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 10 Mar 2004 17:55:19 +0000 |
parents | 30310107dbc9 |
children | f81d075ad172 |
line wrap: on
line source
if [ $ZLIB != NONE ]; then CORE_INCS="$CORE_INCS -I $ZLIB" case $CC in cl) LINK_DEPS="$LINK_DEPS $ZLIB/zlib.lib" CORE_LIBS="$CORE_LIBS zlib.lib" CORE_LINK="$CORE_LINK -libpath:$ZLIB" ;; wcl386) LINK_DEPS="$LINK_DEPS $ZLIB/zlib.lib" CORE_LIBS="$CORE_LIBS $ZLIB/zlib.lib" ;; *) LINK_DEPS="$LINK_DEPS $ZLIB/libz.a" CORE_LIBS="$CORE_LIBS -L $ZLIB -lz" ;; esac else 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 if [ $ngx_found = yes ]; then CORE_LIBS="$CORE_LIBS $ngx_libs" ZLIB=YES else ZLIB=NO fi fi