2003-11-26 23:42:18 +08:00
|
|
|
|
|
|
|
CORE_INCS="$UNIX_INCS"
|
|
|
|
CORE_DEPS="$UNIX_DEPS $LINUX_DEPS"
|
|
|
|
CORE_SRCS="$UNIX_SRCS $LINUX_SRCS $SELECT_SRCS $POLL_SRCS"
|
|
|
|
EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE $POLL_MODULE"
|
|
|
|
|
|
|
|
ZLIB_LIB="-lz"
|
|
|
|
|
|
|
|
|
2004-01-30 05:45:01 +08:00
|
|
|
NGX_INC="sys/epoll.h"; . auto/inc
|
|
|
|
|
|
|
|
if [ $NGX_FOUND=YES ]; then
|
|
|
|
CFLAGS="$CFLAGS -D HAVE_EPOLL=1"
|
|
|
|
EVENT_MODULES="$EVENT_MODULES $EPOLL_MODULE"
|
|
|
|
CORE_SRCS="$CORE_SRCS $EPOLL_SRCS"
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2003-11-26 23:42:18 +08:00
|
|
|
# TODO check sendfile64()
|
|
|
|
|
2003-11-28 03:01:37 +08:00
|
|
|
CC_TEST_FLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
|
2003-11-26 23:42:18 +08:00
|
|
|
|
|
|
|
# STUB
|
|
|
|
CORE_SRCS="$CORE_SRCS $LINUX_SENDFILE_SRCS"
|