diff auto/os/features @ 3676:4430d110293e

listen setfib=X
author Igor Sysoev <igor@sysoev.ru>
date Mon, 05 Jul 2010 13:49:16 +0000
parents 975f0558aab3
children 8a8eb335313d
line wrap: on
line diff
--- 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