comparison auto/os/conf @ 2128:345a014436d4

*) move Darwin support to separate files *) Darwin sendfile() support
author Igor Sysoev <igor@sysoev.ru>
date Wed, 30 Jul 2008 12:18:07 +0000
parents ca9fe5ae412b
children af09c0a26ed6
comparison
equal deleted inserted replaced
2127:05e8de8fcfbb 2128:345a014436d4
16 16
17 SunOS:*) 17 SunOS:*)
18 . auto/os/solaris 18 . auto/os/solaris
19 ;; 19 ;;
20 20
21 Darwin:*)
22 . auto/os/darwin
23 ;;
24
21 win32) 25 win32)
22 . auto/os/win32 26 . auto/os/win32
23 ;; 27 ;;
24 28
25 DragonFly:*) 29 DragonFly:*)
32 have=NGX_HAVE_SENDFILE . auto/have 36 have=NGX_HAVE_SENDFILE . auto/have
33 CORE_SRCS="$CORE_SRCS $FREEBSD_SENDFILE_SRCS" 37 CORE_SRCS="$CORE_SRCS $FREEBSD_SENDFILE_SRCS"
34 38
35 ngx_spacer=' 39 ngx_spacer='
36 ' 40 '
37 ;;
38
39 Darwin:*)
40 have=NGX_DARWIN . auto/have_headers
41 have=NGX_HAVE_INHERITED_NONBLOCK . auto/have
42 CORE_INCS="$UNIX_INCS"
43 CORE_DEPS="$UNIX_DEPS $POSIX_DEPS"
44 CORE_SRCS="$UNIX_SRCS"
45
46 ngx_feature="atomic(3)"
47 ngx_feature_name=NGX_DARWIN_ATOMIC
48 ngx_feature_run=no
49 ngx_feature_incs="#include <libkern/OSAtomic.h>"
50 ngx_feature_path=
51 ngx_feature_libs=
52 ngx_feature_test="int32_t lock, n;
53 n = OSAtomicCompareAndSwap32Barrier(0, 1, lock)"
54 . auto/feature
55 ;; 41 ;;
56 42
57 HP-UX:*) 43 HP-UX:*)
58 # HP/UX 44 # HP/UX
59 have=NGX_HPUX . auto/have_headers 45 have=NGX_HPUX . auto/have_headers