summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-07-05 13:49:16 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-07-05 13:49:16 +0000
commit0bd7a7d8941087929b270f7862f1bbacc69282c1 (patch)
tree42c25fc6de1079f8b91b0cd16160b288c44d3705 /auto
parent1a5d7553da68081ffa3e0a5b89ee844fbd8a7f14 (diff)
downloadnginx-0bd7a7d8941087929b270f7862f1bbacc69282c1.tar.gz
nginx-0bd7a7d8941087929b270f7862f1bbacc69282c1.tar.bz2
listen setfib=X
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 3d490255f..ecd8e7fb4 100644
--- a/auto/os/features
+++ b/auto/os/features
@@ -295,6 +295,15 @@ if [ $ngx_found != yes ]; then
fi
fi
+ngx_feature="SO_SETFIB"
+ngx_feature_name="NGX_HAVE_SETFIB"
+ngx_feature_run=no
+ngx_feature_incs="#include <sys/socket.h>"
+ngx_feature_path=
+ngx_feature_libs=
+ngx_feature_test="setsockopt(0, SOL_SOCKET, SO_SETFIB, NULL, 4)"
+. auto/feature
+
if [ $NGX_FILE_AIO = YES ]; then