]> git.kaiwu.me - nginx.git/commitdiff
separate DragonFlyBSD autoconfiguration from FreeBSD
authorIgor Sysoev <igor@sysoev.ru>
Thu, 7 Sep 2006 20:17:19 +0000 (20:17 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 7 Sep 2006 20:17:19 +0000 (20:17 +0000)
auto/os/conf

index 16a3718c95a1a3bc2aa23e0c3519d35bd38cdf3d..5598f69a785c598222efdd0686d13142b6e35343 100644 (file)
@@ -6,7 +6,7 @@ echo "checking for $NGX_SYSTEM specific features"
 
 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