summaryrefslogtreecommitdiffhomepage
path: root/auto/os/freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'auto/os/freebsd')
-rw-r--r--auto/os/freebsd8
1 files changed, 3 insertions, 5 deletions
diff --git a/auto/os/freebsd b/auto/os/freebsd
index 937ca204e..870bac4b3 100644
--- a/auto/os/freebsd
+++ b/auto/os/freebsd
@@ -44,12 +44,10 @@ if [ $osreldate -gt 300007 ]; then
CORE_SRCS="$CORE_SRCS $FREEBSD_SENDFILE_SRCS"
fi
-if [ $NGX_FILE_AIO = YES ]; then
- if [ $osreldate -gt 502103 ]; then
- echo " + sendfile()'s SF_NODISKIO found"
+if [ $osreldate -gt 1100093 ]; then
+ echo " + sendfile()'s SF_NODISKIO found"
- have=NGX_HAVE_AIO_SENDFILE . auto/have
- fi
+ have=NGX_HAVE_SENDFILE_NODISKIO . auto/have
fi
# POSIX semaphores