summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-09-07 20:17:19 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-09-07 20:17:19 +0000
commitaa542635fff247c83322c81676d0e847bd97b96a (patch)
treeb4a3b897b44a514cd1b1038fe64c23202e86d564
parentc839ef81b22bcddca9dd914dbaeafb1934055521 (diff)
downloadnginx-aa542635fff247c83322c81676d0e847bd97b96a.tar.gz
nginx-aa542635fff247c83322c81676d0e847bd97b96a.tar.bz2
separate DragonFlyBSD autoconfiguration from FreeBSD
-rw-r--r--auto/os/conf16
1 files changed, 15 insertions, 1 deletions
diff --git a/auto/os/conf b/auto/os/conf
index 16a3718c9..5598f69a7 100644
--- a/auto/os/conf
+++ b/auto/os/conf
@@ -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