summaryrefslogtreecommitdiffhomepage
path: root/auto/os/features
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/os/features4
1 files changed, 4 insertions, 0 deletions
diff --git a/auto/os/features b/auto/os/features
index 8efed75a2..5fcbf7f6b 100644
--- a/auto/os/features
+++ b/auto/os/features
@@ -182,6 +182,10 @@ ngx_feature_test="fcntl(0, F_SETFL, O_DIRECT);"
. auto/feature
+if [ $ngx_found = yes -a "$NGX_SYSTEM" = "Linux" ]; then
+ have=NGX_HAVE_ALIGNED_DIRECTIO . auto/have
+fi
+
ngx_feature="F_NOCACHE"
ngx_feature_name="NGX_HAVE_F_NOCACHE"
ngx_feature_run=no