summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-07-30 12:34:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-07-30 12:34:04 +0000
commit385af286421e983f744f7f5d339b8060ccd36302 (patch)
tree81c46d0dad40506cc3a331c6ffaf454da85a0177 /auto
parent749449097847cc3bee9e4e3966122a94149b755b (diff)
directio
Diffstat (limited to 'auto')
-rw-r--r--auto/os/features20
1 files changed, 20 insertions, 0 deletions
diff --git a/auto/os/features b/auto/os/features
index c542c7ee..ffb27a48 100644
--- a/auto/os/features
+++ b/auto/os/features
@@ -170,3 +170,23 @@ if [ $ngx_found = no ]; then
CRYPT_LIB="-lcrypt"
fi
fi
+
+
+ngx_feature="O_DIRECT"
+ngx_feature_name="NGX_HAVE_O_DIRECT"
+ngx_feature_run=no
+ngx_feature_incs="#include <fcntl.h>"
+ngx_feature_path=
+ngx_feature_libs=
+ngx_feature_test="fcntl(0, F_SETFL, O_DIRECT);"
+. auto/feature
+
+
+ngx_feature="F_NOCACHE"
+ngx_feature_name="NGX_HAVE_F_NOCACHE"
+ngx_feature_run=no
+ngx_feature_incs="#include <fcntl.h>"
+ngx_feature_path=
+ngx_feature_libs=
+ngx_feature_test="fcntl(0, F_NOCACHE, 1);"
+. auto/feature