comparison auto/lib/pcre/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 005fc2d5e84f 4919fb357a5d
comparison
equal deleted inserted replaced
3683:312c2f9b53ac 3684:4d47a0658e7d
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 164 fi
165 fi
165 166
167 if [ $PCRE != YES ]; then
166 cat << END 168 cat << END
167 169
168 $0: error: the HTTP rewrite module requires the PCRE library. 170 $0: error: the HTTP rewrite module requires the PCRE library.
169 You can either disable the module by using --without-http_rewrite_module 171 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 172 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. 173 statically from the source with nginx by using --with-pcre=<path> option.
172 174
173 END 175 END
174 exit 1 176 exit 1
177 fi
175 178
176 fi
177
178 fi
179 fi 179 fi