Mercurial > hg > nginx-vendor-0-6
annotate auto/lib/zlib/make @ 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 | 0d75d65c642f |
children |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
16 | 5 case "$NGX_CC_NAME" in |
0 | 6 |
16 | 7 msvc*) |
8 ngx_makefile=makefile.msvc | |
52 | 9 ngx_opt="CPU_OPT=\"$CPU_OPT\" LIBC=$LIBC" |
0 | 10 |
11 ;; | |
12 | |
16 | 13 owc*) |
14 ngx_makefile=makefile.owc | |
52 | 15 ngx_opt="CPU_OPT=\"$CPU_OPT\"" |
0 | 16 ;; |
17 | |
16 | 18 bcc) |
19 ngx_makefile=makefile.bcc | |
52 | 20 ngx_opt="-DCPU_OPT=\"$CPU_OPT\"" |
0 | 21 ;; |
22 | |
23 esac | |
24 | |
25 | |
26 done=NO | |
27 | |
28 | |
42 | 29 case "$NGX_PLATFORM" in |
0 | 30 |
31 win32) | |
16 | 32 cp auto/lib/zlib/$ngx_makefile $ZLIB |
33 | |
34 cat << END >> $NGX_MAKEFILE | |
0 | 35 |
16 | 36 `echo "$ZLIB/zlib.lib: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"` |
37 cd `echo $ZLIB | sed -e "s/\//$ngx_regex_dirsep/g"` | |
38 \$(MAKE) -f $ngx_makefile $ngx_opt | |
39 cd ..\\..\\.. | |
40 | |
41 END | |
0 | 42 |
43 done=YES | |
44 ;; | |
45 | |
46 # FreeBSD: i386 | |
47 # Linux: i686 | |
48 | |
49 *:i386 | *:i686) | |
50 case $ZLIB_ASM in | |
51 pentium) | |
16 | 52 |
53 cat << END >> $NGX_MAKEFILE | |
54 | |
55 $ZLIB/libz.a: $NGX_MAKEFILE | |
56 cd $ZLIB \\ | |
28 | 57 && \$(MAKE) clean \\ |
16 | 58 && cp contrib/asm586/match.S . \\ |
59 && CFLAGS="$ZLIB_OPT -DASMV" CC="\$(CC)" \\ | |
60 ./configure \\ | |
61 && \$(MAKE) OBJA=match.o libz.a | |
62 | |
63 END | |
0 | 64 |
65 done=YES | |
66 ;; | |
67 | |
68 pentiumpro) | |
16 | 69 |
70 cat << END >> $NGX_MAKEFILE | |
71 | |
72 $ZLIB/libz.a: $NGX_MAKEFILE | |
73 cd $ZLIB \\ | |
28 | 74 && \$(MAKE) clean \\ |
16 | 75 && cp contrib/asm686/match.S . \\ |
76 && CFLAGS="$ZLIB_OPT -DASMV" CC="\$(CC)" \\ | |
77 ./configure \\ | |
78 && \$(MAKE) OBJA=match.o libz.a | |
79 | |
80 END | |
0 | 81 |
82 done=YES | |
83 ;; | |
84 | |
85 NO) | |
86 ;; | |
87 | |
88 *) | |
89 echo "$0: error: invalid --with-zlib-asm=$ZLIB_ASM option." | |
90 echo "The valid values are \"pentium\" and \"pentiumpro\" only". | |
91 echo | |
92 | |
93 exit 1; | |
94 ;; | |
95 esac | |
96 ;; | |
97 | |
98 esac | |
99 | |
100 | |
101 if [ $done = NO ]; then | |
16 | 102 |
103 cat << END >> $NGX_MAKEFILE | |
104 | |
105 $ZLIB/libz.a: $NGX_MAKEFILE | |
106 cd $ZLIB \\ | |
28 | 107 && \$(MAKE) clean \\ |
16 | 108 && CFLAGS="$ZLIB_OPT" CC="\$(CC)" \\ |
109 ./configure \\ | |
110 && \$(MAKE) libz.a | |
111 | |
112 END | |
113 | |
0 | 114 fi |