comparison auto/lib/pcre/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 4bc6ef1d7904
children 4d47a0658e7d
comparison
equal deleted inserted replaced
2892:3e10e2b64007 2893:da1ba8a5c8c9
159 CORE_DEPS="$CORE_DEPS $REGEX_DEPS" 159 CORE_DEPS="$CORE_DEPS $REGEX_DEPS"
160 CORE_SRCS="$CORE_SRCS $REGEX_SRCS" 160 CORE_SRCS="$CORE_SRCS $REGEX_SRCS"
161 CORE_INCS="$CORE_INCS $ngx_feature_path" 161 CORE_INCS="$CORE_INCS $ngx_feature_path"
162 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" 162 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
163 PCRE=YES 163 PCRE=YES
164 else
165
166 cat << END
167
168 $0: error: the HTTP rewrite module requires the PCRE library.
169 You can either disable the module by using --without-http_rewrite_module
170 option, or install the PCRE library into the system, or build the PCRE library
171 statically from the source with nginx by using --with-pcre=<path> option.
172
173 END
174 exit 1
175
164 fi 176 fi
165 177
166 fi 178 fi
167 fi 179 fi