comparison auto/summary @ 446:91e0d6a8f980

nginx-0.1.0-2004-09-30-19:30:54 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 30 Sep 2004 15:30:54 +0000
parents f26432a1935a
children ded1284520cc
comparison
equal deleted inserted replaced
445:f26432a1935a 446:91e0d6a8f980
41 41
42 echo 42 echo
43 43
44 44
45 if [ $HTTP_REWRITE = YES ]; then 45 if [ $HTTP_REWRITE = YES ]; then
46 if [ $USE_PCRE = DISABLED ]; then
47
48 cat << END
49 $0: error: the HTTP rewrite module requires the PCRE library.
50 You can either disable the module by using --without-http_rewrite_module
51 option or you have to enable the PCRE support.
52
53 END
54 exit 1
55 fi
56
46 if [ $PCRE = NONE -o $PCRE = NO ]; then 57 if [ $PCRE = NONE -o $PCRE = NO ]; then
47 echo "$0: error: HTTP rewrite module requires PCRE library." 58
48 echo $ngx_n "You can disable the module by using " $ngx_c 59 cat << END
49 echo "--without-http_rewrite_module option" 60 $0: error: the HTTP rewrite module requires the PCRE library.
50 echo "or you have to enable PCRE support." 61 You can either disable the module by using --without-http_rewrite_module
51 echo 62 option, or install the PCRE library into the system, or build the PCRE library
63 statically from the source with nginx by using --with-pcre=<path> option.
64
65 END
52 66
53 exit 1 67 exit 1
54 fi 68 fi
55 fi 69 fi
56 70
57 71
58 if [ $HTTP_GZIP = YES ]; then 72 if [ $HTTP_GZIP = YES ]; then
59 if [ $ZLIB = NONE -o $ZLIB = NO ]; then 73 if [ $ZLIB = NONE -o $ZLIB = NO ]; then
60 echo "$0: error: HTTP gzip module requires zlib library." 74
61 echo $ngx_n "You can disable the module by using " $ngx_c 75 cat << END
62 echo "--without-http_gzip_module option" 76 $0: error: the HTTP gzip module requires the zlib library.
63 echo "or you have to enable zlib support." 77 You can either disable the module by using --without-http_gzip_module
64 echo 78 option, or install the zlib library into the system, or build the zlib library
79 statically from the source with nginx by using --with-zlib=<path> option.
80
81 END
65 82
66 exit 1 83 exit 1
67 fi 84 fi
68 fi 85 fi
69 86