comparison auto/lib/zlib/conf @ 3684:4d47a0658e7d

stop ./configure on Win32 if no library sources was specified, the bug has been introduced in r2894
author Igor Sysoev <igor@sysoev.ru>
date Thu, 08 Jul 2010 15:57:36 +0000
parents da1ba8a5c8c9
children d620f497c50f
comparison
equal deleted inserted replaced
3683:312c2f9b53ac 3684:4d47a0658e7d
55 55
56 if [ $ngx_found = yes ]; then 56 if [ $ngx_found = yes ]; then
57 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" 57 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
58 ZLIB=YES 58 ZLIB=YES
59 ngx_found=no 59 ngx_found=no
60 else 60 fi
61 fi
61 62
63 if [ $ZLIB != YES ]; then
62 cat << END 64 cat << END
63 65
64 $0: error: the HTTP gzip module requires the zlib library. 66 $0: error: the HTTP gzip module requires the zlib library.
65 You can either disable the module by using --without-http_gzip_module 67 You can either disable the module by using --without-http_gzip_module
66 option, or install the zlib library into the system, or build the zlib library 68 option, or install the zlib library into the system, or build the zlib library
67 statically from the source with nginx by using --with-zlib=<path> option. 69 statically from the source with nginx by using --with-zlib=<path> option.
68 70
69 END 71 END
70 exit 1 72 exit 1
71 fi
72 fi 73 fi
73 74
74 fi 75 fi