Mercurial > hg > nginx
comparison auto/os/darwin @ 6978:9fb994513776
Enabled IPV6_RECVPKTINFO / IPV6_PKTINFO on macOS.
This change allows setting the destination IPv6 address of a UDP datagram
received on a wildcard socket.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 17 Apr 2017 14:42:12 +0300 |
parents | e393c0bf53d3 |
children |
comparison
equal
deleted
inserted
replaced
6977:be5cfa918bfc | 6978:9fb994513776 |
---|---|
14 ngx_spacer=' | 14 ngx_spacer=' |
15 ' | 15 ' |
16 | 16 |
17 MAIN_LINK= | 17 MAIN_LINK= |
18 MODULE_LINK="-shared -Wl,-undefined,dynamic_lookup" | 18 MODULE_LINK="-shared -Wl,-undefined,dynamic_lookup" |
19 | |
20 CC_AUX_FLAGS="$CC_AUX_FLAGS -D__APPLE_USE_RFC_3542" | |
21 | |
19 | 22 |
20 # kqueue | 23 # kqueue |
21 | 24 |
22 echo " + kqueue found" | 25 echo " + kqueue found" |
23 have=NGX_HAVE_KQUEUE . auto/have | 26 have=NGX_HAVE_KQUEUE . auto/have |
84 . auto/feature | 87 . auto/feature |
85 | 88 |
86 | 89 |
87 # sendfile() | 90 # sendfile() |
88 | 91 |
89 CC_AUX_FLAGS="$CC_AUX_FLAGS" | |
90 ngx_feature="sendfile()" | 92 ngx_feature="sendfile()" |
91 ngx_feature_name="NGX_HAVE_SENDFILE" | 93 ngx_feature_name="NGX_HAVE_SENDFILE" |
92 ngx_feature_run=yes | 94 ngx_feature_run=yes |
93 ngx_feature_incs="#include <sys/types.h> | 95 ngx_feature_incs="#include <sys/types.h> |
94 #include <sys/socket.h> | 96 #include <sys/socket.h> |