comparison auto/lib/pcre/conf @ 258:6ae1357b7b7c NGINX_0_4_14

nginx 0.4.14 *) Feature: the "proxy_pass_error_message" directive in IMAP/POP3 proxy. *) Feature: now configure detects system PCRE library on FreeBSD, Linux, and NetBSD. *) Bugfix: ngx_http_perl_module did not work with perl built with the threads support; bug appeared in 0.3.38. *) Bugfix: ngx_http_perl_module did not work if perl was called recursively. *) Bugfix: nginx ignored a host name in an request line. *) Bugfix: a worker process may got caught in an endless loop, if a FastCGI server sent too many data to the stderr. *) Bugfix: the $upstream_response_time variable may be negative if the system time was changed backward. *) Bugfix: the "Auth-Login-Attempt" parameter was not sent to IMAP/POP3 proxy authentication server when POP3 was used. *) Bugfix: a segmentation fault might occur if connect to IMAP/POP3 proxy authentication server failed.
author Igor Sysoev <http://sysoev.ru>
date Mon, 27 Nov 2006 00:00:00 +0300
parents df17fbafec8f
children 052a7b1d40e5
comparison
equal deleted inserted replaced
257:0e566ee1bcd5 258:6ae1357b7b7c
62 else 62 else
63 63
64 if [ "$NGX_PLATFORM" != win32 ]; then 64 if [ "$NGX_PLATFORM" != win32 ]; then
65 PCRE=NO 65 PCRE=NO
66 66
67 # FreeBSD PCRE port requires --with-cc-opt="-I /usr/local/include"
68 # --with-ld-opt="-L /usr/local/lib"
69
70 ngx_feature="PCRE library" 67 ngx_feature="PCRE library"
71 ngx_feature_name="NGX_PCRE" 68 ngx_feature_name="NGX_PCRE"
72 ngx_feature_run=no 69 ngx_feature_run=no
73 ngx_feature_incs="#include <pcre.h>" 70 ngx_feature_incs="#include <pcre.h>"
71 ngx_feature_path=
74 ngx_feature_libs="-lpcre" 72 ngx_feature_libs="-lpcre"
75 ngx_feature_test="pcre *re; re = pcre_compile(NULL, 0, NULL, 0, NULL)" 73 ngx_feature_test="pcre *re; re = pcre_compile(NULL, 0, NULL, 0, NULL)"
76 . auto/feature 74 . auto/feature
77 75
78 if [ $ngx_found = yes ]; then 76 if [ $ngx_found = yes ]; then
79 CORE_DEPS="$CORE_DEPS $REGEX_DEPS" 77 CORE_DEPS="$CORE_DEPS $REGEX_DEPS"
80 CORE_SRCS="$CORE_SRCS $REGEX_SRCS" 78 CORE_SRCS="$CORE_SRCS $REGEX_SRCS"
81 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" 79 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
82 PCRE=YES 80 PCRE=YES
83 ngx_found=no 81 ngx_found=no
82
83 else
84 # FreeBSD port
85
86 ngx_feature="PCRE library in /usr/local/"
87 ngx_feature_name="NGX_PCRE"
88 ngx_feature_run=no
89 ngx_feature_incs="#include <pcre.h>"
90 ngx_feature_path="/usr/local/include"
91 ngx_feature_libs="-L /usr/local/lib -lpcre"
92 ngx_feature_test="pcre *re;
93 re = pcre_compile(NULL, 0, NULL, 0, NULL)"
94 . auto/feature
84 fi 95 fi
96
97 if [ $ngx_found = yes ]; then
98 CORE_DEPS="$CORE_DEPS $REGEX_DEPS"
99 CORE_SRCS="$CORE_SRCS $REGEX_SRCS"
100 CORE_INCS="$CORE_INCS $ngx_feature_path"
101 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
102 PCRE=YES
103 ngx_found=no
104
105 else
106 # Linux package
107
108 if [ $PCRE = NO ]; then
109
110 ngx_feature="PCRE library in /usr/include/pcre/"
111 ngx_feature_name="NGX_PCRE"
112 ngx_feature_run=no
113 ngx_feature_incs="#include <pcre.h>"
114 ngx_feature_path="/usr/include/pcre"
115 ngx_feature_libs="-lpcre"
116 ngx_feature_test="pcre *re;
117 re = pcre_compile(NULL, 0, NULL, 0, NULL)"
118 . auto/feature
119 fi
120 fi
121
122 if [ $ngx_found = yes ]; then
123 CORE_DEPS="$CORE_DEPS $REGEX_DEPS"
124 CORE_SRCS="$CORE_SRCS $REGEX_SRCS"
125 CORE_INCS="$CORE_INCS $ngx_feature_path"
126 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
127 PCRE=YES
128 ngx_found=no
129
130 else
131 # NetBSD port
132
133 if [ $PCRE = NO ]; then
134
135 ngx_feature="PCRE library in /usr/pkg/"
136 ngx_feature_name="NGX_PCRE"
137 ngx_feature_run=no
138 ngx_feature_incs="#include <pcre.h>"
139 ngx_feature_path="/usr/pkg/include"
140 ngx_feature_libs="-L /usr/pkg/lib -lpcre"
141 ngx_feature_test="pcre *re;
142 re = pcre_compile(NULL, 0, NULL, 0, NULL)"
143 . auto/feature
144 fi
145 fi
146
147 if [ $ngx_found = yes ]; then
148 CORE_DEPS="$CORE_DEPS $REGEX_DEPS"
149 CORE_SRCS="$CORE_SRCS $REGEX_SRCS"
150 CORE_INCS="$CORE_INCS $ngx_feature_path"
151 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
152 PCRE=YES
153 ngx_found=no
154 fi
155
85 fi 156 fi
86 fi 157 fi