Mercurial > hg > nginx-vendor-1-0
annotate auto/lib/perl/conf @ 326:9fc4ab6673f9 NGINX_0_6_7
nginx 0.6.7
*) Change: now the paths specified in the "include",
"auth_basic_user_file", "perl_modules", "ssl_certificate",
"ssl_certificate_key", and "ssl_client_certificate" directives are
relative to directory of nginx configuration file nginx.conf, but
not to nginx prefix directory.
*) Change: the --sysconfdir=PATH option in configure was canceled.
*) Change: the special make target "upgrade1" was defined for online
upgrade of 0.1.x versions.
*) Feature: the "server_name" and "valid_referers" directives support
regular expressions.
*) Feature: the "server" directive in the "upstream" context supports
the "backup" parameter.
*) Feature: the ngx_http_perl_module supports the
$r->discard_request_body.
*) Feature: the "add_header Last-Modified ..." directive changes the
"Last-Modified" response header line.
*) Bugfix: if an response different than 200 was returned to an request
with body and connection went to the keep-alive state after the
request, then nginx returned 400 for the next request.
*) Bugfix: a segmentation fault occurred in worker process if invalid
address was set in the "auth_http" directive.
*) Bugfix: now nginx uses default listen backlog value 511 on all
platforms except FreeBSD.
Thanks to Jiang Hong.
*) Bugfix: a worker process may got caught in an endless loop, if an
"server" inside "upstream" block was marked as "down"; bug appeared
in 0.6.6.
*) Bugfix: now Solaris sendfilev() is not used to transfer the client
request body to FastCGI-server via the unix domain socket.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 15 Aug 2007 00:00:00 +0400 |
parents | 6eb1e38f0f1f |
children | ad25218fd14b |
rev | line source |
---|---|
148 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 echo "checking for perl" | |
6 | |
7 | |
8 NGX_PERL_VER=`$NGX_PERL -v 2>&1 | grep '^This is perl' 2>&1 \ | |
9 | sed -e 's/^This is perl, \(.*\)/\1/'` | |
10 | |
11 if test -n "$NGX_PERL_VER"; then | |
12 echo " + perl version: $NGX_PERL_VER" | |
13 | |
14 if [ "`echo 'use 5.006001; print "OK"' | $NGX_PERL 2>&1`" != OK ]; then | |
15 echo | |
16 echo "$0: error: perl 5.6.1 or higher is required" | |
17 echo | |
18 | |
19 exit 1; | |
20 fi | |
21 | |
230 | 22 NGX_PERL_CFLAGS="$CFLAGS `$NGX_PERL -MExtUtils::Embed -e ccopts`" |
23 NGX_PM_CFLAGS=`$NGX_PERL -MExtUtils::Embed -e ccopts` | |
24 | |
25 # gcc 4.1/4.2 warn about unused values in pTHX_ | |
26 NGX_PERL_CFLAGS=`echo $NGX_PERL_CFLAGS \ | |
27 | sed -e 's/-Wunused-value/-Wno-unused-value/'` | |
28 # icc8 warns 'declaration hides parameter "my_perl"' in ENTER and LEAVE | |
29 NGX_PERL_CFLAGS=`echo $NGX_PERL_CFLAGS \ | |
30 | sed -e 's/-wd171/-wd171 -wd1599/'` | |
31 | |
148 | 32 ngx_perl_ldopts=`$NGX_PERL -MExtUtils::Embed -e ldopts` |
33 | |
34 if $NGX_PERL -V:usemultiplicity | grep define > /dev/null; then | |
35 have=NGX_HAVE_PERL_MULTIPLICITY . auto/have | |
36 echo " + perl interpreter multiplicity found" | |
37 fi | |
38 | |
258 | 39 if $NGX_PERL -V:useithreads | grep undef > /dev/null; then |
148 | 40 # FreeBSD port wants to link with -pthread non-threaded perl |
41 ngx_perl_ldopts=`echo $ngx_perl_ldopts | sed 's/ -pthread//'` | |
42 fi | |
43 | |
44 CORE_LINK="$CORE_LINK $ngx_perl_ldopts" | |
45 LINK_DEPS="$LINK_DEPS $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so" | |
46 | |
47 if test -n "$NGX_PERL_MODULES"; then | |
48 have=NGX_PERL_MODULES value="(u_char *) \"$NGX_PERL_MODULES\"" | |
49 . auto/define | |
270 | 50 NGX_PERL_MODULES_MAN=$NGX_PERL_MODULES/man3 |
148 | 51 fi |
52 | |
53 else | |
54 echo | |
55 echo "$0: error: perl 5.6.1 or higher is required" | |
56 echo | |
57 | |
58 exit 1; | |
59 fi |