Mercurial > hg > nginx
comparison auto/summary @ 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 | bd6cc5370fc1 |
children | 1d9063f7483c |
comparison
equal
deleted
inserted
replaced
2892:3e10e2b64007 | 2893:da1ba8a5c8c9 |
---|---|
72 esac | 72 esac |
73 | 73 |
74 echo | 74 echo |
75 | 75 |
76 | 76 |
77 if [ $HTTP_REWRITE = YES ]; then | |
78 if [ $USE_PCRE = DISABLED ]; then | |
79 | |
80 cat << END | |
81 $0: error: the HTTP rewrite module requires the PCRE library. | |
82 You can either disable the module by using --without-http_rewrite_module | |
83 option or you have to enable the PCRE support. | |
84 | |
85 END | |
86 exit 1 | |
87 fi | |
88 | |
89 if [ $PCRE = NONE -o $PCRE = NO ]; then | |
90 | |
91 cat << END | |
92 $0: error: the HTTP rewrite module requires the PCRE library. | |
93 You can either disable the module by using --without-http_rewrite_module | |
94 option, or install the PCRE library into the system, or build the PCRE library | |
95 statically from the source with nginx by using --with-pcre=<path> option. | |
96 | |
97 END | |
98 | |
99 exit 1 | |
100 fi | |
101 fi | |
102 | |
103 | |
104 if [ $HTTP_GZIP = YES ]; then | |
105 if [ $ZLIB = NONE -o $ZLIB = NO ]; then | |
106 | |
107 cat << END | |
108 $0: error: the HTTP gzip module requires the zlib library. | |
109 You can either disable the module by using --without-http_gzip_module | |
110 option, or install the zlib library into the system, or build the zlib library | |
111 statically from the source with nginx by using --with-zlib=<path> option. | |
112 | |
113 END | |
114 | |
115 exit 1 | |
116 fi | |
117 fi | |
118 | |
119 | |
120 if [ $HTTP_SSL = YES ]; then | |
121 if [ $OPENSSL = NONE -o $OPENSSL = NO ]; then | |
122 | |
123 cat << END | |
124 $0: error: the HTTP SSL module requires the OpenSSL library. | |
125 You can either do not enable the module, or install the OpenSSL library | |
126 into the system, or build the OpenSSL library statically from the source | |
127 with nginx by using --with-openssl=<path> option. | |
128 | |
129 END | |
130 | |
131 exit 1 | |
132 fi | |
133 fi | |
134 | |
135 | |
136 cat << END | 77 cat << END |
137 nginx path prefix: "$NGX_PREFIX" | 78 nginx path prefix: "$NGX_PREFIX" |
138 nginx binary file: "$NGX_SBIN_PATH" | 79 nginx binary file: "$NGX_SBIN_PATH" |
139 nginx configuration prefix: "$NGX_CONF_PREFIX" | 80 nginx configuration prefix: "$NGX_CONF_PREFIX" |
140 nginx configuration file: "$NGX_CONF_PATH" | 81 nginx configuration file: "$NGX_CONF_PATH" |