Mercurial > hg > nginx-quic
comparison auto/os/solaris @ 455:295d97d70c69 release-0.1.2
nginx-0.1.2-RELEASE import
*) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS
options in configure.
*) Feature: the server_name directive supports *.domain.tld.
*) Bugfix: the portability improvements.
*) Bugfix: if configuration file was set in command line, the
reconfiguration was impossible; the bug had appeared in 0.1.1.
*) Bugfix: proxy module may get caught in an endless loop when sendfile
is not used.
*) Bugfix: with sendfile the response was not recoded according to the
charset module directives; the bug had appeared in 0.1.1.
*) Bugfix: very seldom bug in the kqueue processing.
*) Bugfix: the gzip module compressed the proxied responses that was
already compressed.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 21 Oct 2004 15:34:38 +0000 |
parents | 241dc8092a33 |
children | 2ff194b74f1e |
comparison
equal
deleted
inserted
replaced
454:2ff9cff0f469 | 455:295d97d70c69 |
---|---|
1 | 1 |
2 # Copyright (C) Igor Sysoev | 2 # Copyright (C) Igor Sysoev |
3 | 3 |
4 | |
5 cat << END >> $NGX_AUTO_HEADERS_H | |
6 | |
7 #ifndef NGX_SOLARIS | |
8 #define NGX_SOLARIS 1 | |
9 #endif | |
10 | |
11 END | |
4 | 12 |
5 CORE_INCS="$UNIX_INCS" | 13 CORE_INCS="$UNIX_INCS" |
6 CORE_DEPS="$UNIX_DEPS $SOLARIS_DEPS" | 14 CORE_DEPS="$UNIX_DEPS $SOLARIS_DEPS" |
7 CORE_SRCS="$UNIX_SRCS $SOLARIS_SRCS " | 15 CORE_SRCS="$UNIX_SRCS $SOLARIS_SRCS " |
8 EVENT_MODULES="$EVENT_MODULES" | 16 EVENT_MODULES="$EVENT_MODULES" |
9 | 17 |
10 CORE_LIBS="$CORE_LIBS -lsocket -lnsl -lrt" | 18 CORE_LIBS="$CORE_LIBS -lsocket -lnsl -lrt" |
11 | 19 |
12 # the Solaris's make support | 20 # Solaris's make does not support a blank line between target and rules |
13 MAKE_SL=YES | 21 ngx_spacer= |
14 | 22 |
15 | 23 CC_AUX_FLAGS="-D_FILE_OFFSET_BITS=64 -lrt" |
16 CC_TEST_FLAGS="-D_FILE_OFFSET_BITS=64" | |
17 | |
18 case $PLATFORM in | |
19 | |
20 SunOS:5.[89]:* | SunOS:5.10:*) | |
21 PIPE="-pipe" | |
22 ;; | |
23 | |
24 *) | |
25 # Solaris 7's /usr/ccs/bin/as does not support "-pipe" | |
26 ;; | |
27 | |
28 esac | |
29 | 24 |
30 | 25 |
31 case $PLATFORM in | 26 case $PLATFORM in |
32 | 27 |
33 *:sun4u) | 28 *:sun4u) |
29 # "-mcpu=v9" enables the "casa" assembler instruction | |
34 CFLAGS="$CFLAGS -mcpu=v9" | 30 CFLAGS="$CFLAGS -mcpu=v9" |
35 | |
36 if [ ".$CPU" = ".sparc64" ]; then | |
37 CFLAGS="$CFLAGS -m64" | |
38 CPU_OPT="-m64" | |
39 CORE_LINK="$CORE_LINK -m64" | |
40 | |
41 CC_TEST_FLAGS="$CC_TEST_FLAGS -mcpu=v9 -m64" | |
42 fi | |
43 ;; | |
44 | |
45 *) | |
46 ;; | 31 ;; |
47 | 32 |
48 esac | 33 esac |
49 | 34 |
50 | 35 |
55 | 40 |
56 exit 1 | 41 exit 1 |
57 fi | 42 fi |
58 | 43 |
59 | 44 |
60 ngx_inc="sys/devpoll.h"; . auto/inc | 45 ngx_feature="sendfilev()" |
61 | 46 ngx_feature_name="sendfile" |
62 if [ $ngx_found = yes ]; then | 47 ngx_feature_run=no |
63 have=HAVE_DEVPOLL . auto/have | 48 ngx_feature_incs="#include <sys/sendfile.h>" |
64 CORE_SRCS="$CORE_SRCS $DEVPOLL_SRCS" | 49 ngx_feature_libs="-lsendfile" |
65 EVENT_MODULES="$EVENT_MODULES $DEVPOLL_MODULE" | 50 ngx_feature_test="int fd = 1; sendfilevec_t vec[1]; |
66 EVENT_FOUND=YES | 51 size_t sent; ssize_t n; |
67 fi | 52 n = sendfilev(fd, vec, 1, &sent)" |
68 | 53 . auto/feature |
69 | |
70 ngx_func="sendfilev()"; | |
71 ngx_func_inc="#include <sys/sendfile.h>" | |
72 ngx_func_libs="-lsendfile" | |
73 ngx_func_test="int fd = 1; sendfilevec_t vec[1]; | |
74 size_t sent; ssize_t n; | |
75 n = sendfilev(fd, vec, 1, &sent)" | |
76 . auto/func | |
77 | 54 |
78 | 55 |
79 if [ $ngx_found = yes ]; then | 56 if [ $ngx_found = yes ]; then |
80 have=HAVE_SENDFILE . auto/have | 57 have=HAVE_SENDFILE . auto/have |
81 CORE_SRCS="$CORE_SRCS $SOLARIS_SENDFILEV_SRCS" | 58 CORE_SRCS="$CORE_SRCS $SOLARIS_SENDFILEV_SRCS" |