summaryrefslogtreecommitdiffhomepage
path: root/auto/os
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-27 19:01:37 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-27 19:01:37 +0000
commit764543e73426fd00741483ff830cf09bfb73752f (patch)
tree27b8bad85c18469e593d30ee137fdb5fe1a16af4 /auto/os
parent0e499db3ed63432cfacd08282cce1d42b568b567 (diff)
downloadnginx-764543e73426fd00741483ff830cf09bfb73752f.tar.gz
nginx-764543e73426fd00741483ff830cf09bfb73752f.tar.bz2
nginx-0.0.1-2003-11-27-22:01:37 import
Diffstat (limited to 'auto/os')
-rw-r--r--auto/os/linux3
-rw-r--r--auto/os/solaris1
2 files changed, 2 insertions, 2 deletions
diff --git a/auto/os/linux b/auto/os/linux
index a488c4de1..bf5092aba 100644
--- a/auto/os/linux
+++ b/auto/os/linux
@@ -9,8 +9,7 @@ ZLIB_LIB="-lz"
# TODO check sendfile64()
-#CC_TEST_FLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
-CC_TEST_FLAGS="-D_GNU_SOURCE"
+CC_TEST_FLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
# STUB
CORE_SRCS="$CORE_SRCS $LINUX_SENDFILE_SRCS"
diff --git a/auto/os/solaris b/auto/os/solaris
index 008eda655..6bc2a6f82 100644
--- a/auto/os/solaris
+++ b/auto/os/solaris
@@ -22,6 +22,7 @@ fi
NGX_FUNC_INC="#include <sys/sendfile.h>"
+NGX_FUNC_LIBS="-lsendfile"
NGX_FUNC_TEST="int fd = 1; sendfilevec_t vec[1];
size_t sent = 1; ssize_t n;
n = sendfilev(fd, vec, 1, &sent)"