Mercurial > hg > nginx
annotate auto/os/conf @ 684:e3e0b20d8eb2
fix typo
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 31 Aug 2006 10:40:45 +0000 |
parents | 425af804d968 |
children | 03fa118203d6 |
rev | line source |
---|---|
444
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
355
diff
changeset
|
1 |
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
355
diff
changeset
|
2 # Copyright (C) Igor Sysoev |
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
355
diff
changeset
|
3 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
4 |
563 | 5 echo "checking for $NGX_SYSTEM specific features" |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
6 |
493 | 7 case "$NGX_PLATFORM" in |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
8 |
295
99b349386504
nginx-0.0.3-2004-03-25-23:03:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
282
diff
changeset
|
9 FreeBSD:* | DragonFly:*) |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
10 . auto/os/freebsd |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
11 ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
12 |
196
11fbd0fc041d
nginx-0.0.1-2003-11-26-18:42:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
13 Linux:*) |
11fbd0fc041d
nginx-0.0.1-2003-11-26-18:42:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
14 . auto/os/linux |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
15 ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
16 |
196
11fbd0fc041d
nginx-0.0.1-2003-11-26-18:42:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
17 SunOS:*) |
11fbd0fc041d
nginx-0.0.1-2003-11-26-18:42:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
18 . auto/os/solaris |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
19 ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
20 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
21 win32) |
455 | 22 . auto/os/win32 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
23 ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
24 |
515 | 25 Darwin:*) |
26 have=NGX_DARWIN . auto/have_headers | |
27 have=NGX_HAVE_INHERITED_NONBLOCK . auto/have | |
28 CORE_INCS="$UNIX_INCS" | |
29 CORE_DEPS="$UNIX_DEPS $POSIX_DEPS" | |
30 CORE_SRCS="$UNIX_SRCS" | |
31 ;; | |
32 | |
33 HP-UX:*) | |
34 # HP/UX | |
35 have=NGX_HPUX . auto/have_headers | |
36 CORE_INCS="$UNIX_INCS" | |
37 CORE_DEPS="$UNIX_DEPS $POSIX_DEPS" | |
38 CORE_SRCS="$UNIX_SRCS" | |
39 CC_AUX_FLAGS="$CC_AUX_FLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | |
40 ;; | |
41 | |
42 OSF1:*) | |
517 | 43 # Tru64 UNIX |
515 | 44 have=NGX_TRU64 . auto/have_headers |
517 | 45 have=NGX_HAVE_STRERROR_R . auto/nohave |
515 | 46 CORE_INCS="$UNIX_INCS" |
47 CORE_DEPS="$UNIX_DEPS $POSIX_DEPS" | |
48 CORE_SRCS="$UNIX_SRCS" | |
49 ;; | |
50 | |
355
0fb6c53fb135
nginx-0.0.7-2004-06-15-21:47:16 import
Igor Sysoev <igor@sysoev.ru>
parents:
320
diff
changeset
|
51 *) |
0fb6c53fb135
nginx-0.0.7-2004-06-15-21:47:16 import
Igor Sysoev <igor@sysoev.ru>
parents:
320
diff
changeset
|
52 CORE_INCS="$UNIX_INCS" |
0fb6c53fb135
nginx-0.0.7-2004-06-15-21:47:16 import
Igor Sysoev <igor@sysoev.ru>
parents:
320
diff
changeset
|
53 CORE_DEPS="$UNIX_DEPS $POSIX_DEPS" |
0fb6c53fb135
nginx-0.0.7-2004-06-15-21:47:16 import
Igor Sysoev <igor@sysoev.ru>
parents:
320
diff
changeset
|
54 CORE_SRCS="$UNIX_SRCS" |
0fb6c53fb135
nginx-0.0.7-2004-06-15-21:47:16 import
Igor Sysoev <igor@sysoev.ru>
parents:
320
diff
changeset
|
55 ;; |
0fb6c53fb135
nginx-0.0.7-2004-06-15-21:47:16 import
Igor Sysoev <igor@sysoev.ru>
parents:
320
diff
changeset
|
56 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
57 esac |
455 | 58 |
59 | |
493 | 60 case "$NGX_MACHINE" in |
479 | 61 |
589 | 62 i386 | i686 | i86pc) |
509 | 63 have=NGX_HAVE_NONALIGNED . auto/have |
589 | 64 NGX_MACH_CACHE_LINE=32 |
65 ;; | |
66 | |
593 | 67 amd64 | x86_64) |
589 | 68 have=NGX_HAVE_NONALIGNED . auto/have |
69 NGX_MACH_CACHE_LINE=64 | |
509 | 70 ;; |
479 | 71 |
589 | 72 sun4u | sparc | sparc64) |
581 | 73 have=NGX_ALIGNMENT value=16 . auto/define |
589 | 74 # TODO |
75 NGX_MACH_CACHE_LINE=64 | |
76 ;; | |
77 | |
78 ia64 ) | |
79 have=NGX_ALIGNMENT value=16 . auto/define | |
80 # TODO | |
81 NGX_MACH_CACHE_LINE=64 | |
82 ;; | |
83 | |
84 *) | |
85 NGX_MACH_CACHE_LINE=32 | |
581 | 86 ;; |
87 | |
479 | 88 esac |
589 | 89 |
90 if test -z "$NGX_CPU_CACHE_LINE"; then | |
91 NGX_CPU_CACHE_LINE=$NGX_MACH_CACHE_LINE | |
92 fi | |
93 | |
94 have=NGX_CPU_CACHE_LINE value=$NGX_CPU_CACHE_LINE . auto/define |