comparison auto/os/features @ 2248:1adec90a0e46

disable directio for unaligned reads in Linux
author Igor Sysoev <igor@sysoev.ru>
date Fri, 12 Sep 2008 13:50:12 +0000
parents 56964e5b77db
children 87e739049e93
comparison
equal deleted inserted replaced
2247:981483d63e9f 2248:1adec90a0e46
180 ngx_feature_libs= 180 ngx_feature_libs=
181 ngx_feature_test="fcntl(0, F_SETFL, O_DIRECT);" 181 ngx_feature_test="fcntl(0, F_SETFL, O_DIRECT);"
182 . auto/feature 182 . auto/feature
183 183
184 184
185 if [ $ngx_found = yes -a "$NGX_SYSTEM" = "Linux" ]; then
186 have=NGX_HAVE_ALIGNED_DIRECTIO . auto/have
187 fi
188
185 ngx_feature="F_NOCACHE" 189 ngx_feature="F_NOCACHE"
186 ngx_feature_name="NGX_HAVE_F_NOCACHE" 190 ngx_feature_name="NGX_HAVE_F_NOCACHE"
187 ngx_feature_run=no 191 ngx_feature_run=no
188 ngx_feature_incs="#include <fcntl.h>" 192 ngx_feature_incs="#include <fcntl.h>"
189 ngx_feature_path= 193 ngx_feature_path=