comparison auto/lib/pcre/conf @ 282:675a39fd14cd NGINX_0_5_11

nginx 0.5.11 *) Feature: now configure detects system PCRE library in MacPorts. Thanks to Chris McGrath. *) Bugfix: the response was incorrect if several ranges were requested; bug appeared in 0.5.6. *) Bugfix: the "create_full_put_path" directive could not create the intermediate directories if no "dav_access" directive was set. Thanks to Evan Miller. *) Bugfix: the "0" response code might be logged in the access_log instead of the "400" and "408" error codes. *) Bugfix: a segmentation fault might occur in worker process if nginx was built with -O2 optimization.
author Igor Sysoev <http://sysoev.ru>
date Mon, 05 Feb 2007 00:00:00 +0300
parents 052a7b1d40e5
children 95183808f549
comparison
equal deleted inserted replaced
281:5338da501733 282:675a39fd14cd
167 CORE_SRCS="$CORE_SRCS $REGEX_SRCS" 167 CORE_SRCS="$CORE_SRCS $REGEX_SRCS"
168 CORE_INCS="$CORE_INCS $ngx_feature_path" 168 CORE_INCS="$CORE_INCS $ngx_feature_path"
169 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" 169 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
170 PCRE=YES 170 PCRE=YES
171 ngx_found=no 171 ngx_found=no
172
173 else
174 # MacPorts
175
176 if [ $PCRE = NO ]; then
177
178 ngx_feature="PCRE library in /opt/local/"
179 ngx_feature_name="NGX_PCRE"
180 ngx_feature_run=no
181 ngx_feature_incs="#include <pcre.h>"
182 ngx_feature_path="/opt/local/include"
183 ngx_feature_libs="-L/opt/local/lib -lpcre"
184 ngx_feature_test="pcre *re;
185 re = pcre_compile(NULL, 0, NULL, 0, NULL)"
186 . auto/feature
187 fi
188 fi
189
190 if [ $ngx_found = yes ]; then
191 CORE_DEPS="$CORE_DEPS $REGEX_DEPS"
192 CORE_SRCS="$CORE_SRCS $REGEX_SRCS"
193 CORE_INCS="$CORE_INCS $ngx_feature_path"
194 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
195 PCRE=YES
196 ngx_found=no
172 fi 197 fi
173 198
174 fi 199 fi
175 fi 200 fi