summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-11-25 10:15:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-11-25 10:15:04 +0000
commit40747ad861d1645febf4c3a43f5f0c3489decbf0 (patch)
tree29bb394a5d424e27c93295cdbc02c9bd339f675d /auto
parent601ca7cd6e8ba5fce8e87cfd122591a46b1136ff (diff)
downloadnginx-40747ad861d1645febf4c3a43f5f0c3489decbf0.tar.gz
nginx-40747ad861d1645febf4c3a43f5f0c3489decbf0.tar.bz2
Linux accept4() support
Diffstat (limited to 'auto')
-rw-r--r--auto/os/features9
1 files changed, 9 insertions, 0 deletions
diff --git a/auto/os/features b/auto/os/features
index ecd8e7fb4..c0fd6dd9e 100644
--- a/auto/os/features
+++ b/auto/os/features
@@ -305,6 +305,15 @@ ngx_feature_test="setsockopt(0, SOL_SOCKET, SO_SETFIB, NULL, 4)"
. auto/feature
+ngx_feature="accept4()"
+ngx_feature_name="NGX_HAVE_ACCEPT4"
+ngx_feature_run=no
+ngx_feature_incs="#include <sys/socket.h>"
+ngx_feature_path=
+ngx_feature_libs=
+ngx_feature_test="accept4(0, NULL, NULL, SOCK_NONBLOCK)"
+. auto/feature
+
if [ $NGX_FILE_AIO = YES ]; then
ngx_feature="kqueue AIO support"