comparison auto/lib/zlib/conf @ 2893:da1ba8a5c8c9

stop ./configure at once on library failure
author Igor Sysoev <igor@sysoev.ru>
date Tue, 26 May 2009 14:28:49 +0000
parents 7af8276b1c2f
children 4d47a0658e7d
comparison
equal deleted inserted replaced
2892:3e10e2b64007 2893:da1ba8a5c8c9
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
61
62 cat << END
63
64 $0: error: the HTTP gzip module requires the zlib library.
65 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
67 statically from the source with nginx by using --with-zlib=<path> option.
68
69 END
70 exit 1
60 fi 71 fi
61 fi 72 fi
62 73
63 fi 74 fi