diff auto/os/conf @ 232:d8f5c91a5c07 NGINX_0_4_1

nginx 0.4.1 *) Bugfix: the DragonFlyBSD compatibility. Thanks to Pavel Nazarov. *) Workaround: of bug in 64-bit Linux sendfile(), when file is more than 2G. *) Feature: now on Linux nginx uses O_NOATIME flag for static requests. Thanks to Yusuf Goolamabbas.
author Igor Sysoev <http://sysoev.ru>
date Thu, 14 Sep 2006 00:00:00 +0400
parents 84910468f6de
children ff906029dd40
line wrap: on
line diff
--- a/auto/os/conf
+++ b/auto/os/conf
@@ -6,7 +6,7 @@ echo "checking for $NGX_SYSTEM specific 
 
 case "$NGX_PLATFORM" in
 
-    FreeBSD:* | DragonFly:*)
+    FreeBSD:*)
         . auto/os/freebsd
     ;;
 
@@ -22,6 +22,20 @@ case "$NGX_PLATFORM" in
         . auto/os/win32
     ;;
 
+    DragonFly:*)
+        have=NGX_FREEBSD . auto/have_headers
+        CORE_INCS="$UNIX_INCS"
+        CORE_DEPS="$UNIX_DEPS $FREEBSD_DEPS"
+        CORE_SRCS="$UNIX_SRCS $FREEBSD_SRCS"
+
+        echo " + sendfile() found"
+        have=NGX_HAVE_SENDFILE . auto/have
+        CORE_SRCS="$CORE_SRCS $FREEBSD_SENDFILE_SRCS"
+
+        ngx_spacer='
+'
+    ;;
+
     Darwin:*)
         have=NGX_DARWIN . auto/have_headers
         have=NGX_HAVE_INHERITED_NONBLOCK . auto/have