mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 01:42:58 +08:00
separate DragonFlyBSD autoconfiguration from FreeBSD
This commit is contained in:
parent
c839ef81b2
commit
aa542635ff
16
auto/os/conf
16
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
|
||||
|
Loading…
Reference in New Issue
Block a user