2004-02-03 05:19:52 +08:00
|
|
|
|
2004-02-18 01:53:12 +08:00
|
|
|
if [ $EVENT_RTSIG = YES ]; then
|
|
|
|
have=HAVE_RTSIG . auto/have
|
|
|
|
EVENT_MODULES="$EVENT_MODULES $RTSIG_MODULE"
|
|
|
|
CORE_SRCS="$CORE_SRCS $RTSIG_SRCS"
|
|
|
|
fi
|
|
|
|
|
2004-02-10 04:47:18 +08:00
|
|
|
if [ $EVENT_SELECT = NO -a $EVENT_FOUND = NO ]; then
|
|
|
|
EVENT_SELECT=YES
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $EVENT_SELECT = YES ]; then
|
|
|
|
CORE_SRCS="$CORE_SRCS $SELECT_SRCS"
|
|
|
|
EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE"
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ $EVENT_POLL = NO -a $EVENT_FOUND = NO ]; then
|
|
|
|
EVENT_POLL=YES
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $EVENT_POLL = YES ]; then
|
|
|
|
CORE_SRCS="$CORE_SRCS $POLL_SRCS"
|
|
|
|
EVENT_MODULES="$EVENT_MODULES $POLL_MODULE"
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ $TEST_BUILD_DEVPOLL = YES ]; then
|
2004-02-18 01:53:12 +08:00
|
|
|
have=HAVE_DEVPOLL . auto/have
|
|
|
|
have=TEST_BUILD_DEVPOLL . auto/have
|
2004-02-10 04:47:18 +08:00
|
|
|
EVENT_MODULES="$EVENT_MODULES $DEVPOLL_MODULE"
|
|
|
|
CORE_SRCS="$CORE_SRCS $DEVPOLL_SRCS"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $TEST_BUILD_EPOLL = YES ]; then
|
2004-02-18 01:53:12 +08:00
|
|
|
have=HAVE_EPOLL . auto/have
|
|
|
|
have=TEST_BUILD_EPOLL . auto/have
|
2004-02-10 04:47:18 +08:00
|
|
|
EVENT_MODULES="$EVENT_MODULES $EPOLL_MODULE"
|
|
|
|
CORE_SRCS="$CORE_SRCS $EPOLL_SRCS"
|
|
|
|
fi
|
|
|
|
|
2004-02-18 01:53:12 +08:00
|
|
|
if [ $TEST_BUILD_RTSIG = YES ]; then
|
|
|
|
have=HAVE_RTSIG . auto/have
|
|
|
|
have=TEST_BUILD_RTSIG . auto/have
|
|
|
|
EVENT_MODULES="$EVENT_MODULES $RTSIG_MODULE"
|
|
|
|
CORE_SRCS="$CORE_SRCS $RTSIG_SRCS"
|
2004-02-10 04:47:18 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
2004-02-03 05:19:52 +08:00
|
|
|
HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES \
|
|
|
|
$HTTP_CHUNKED_FILTER_MODULE \
|
|
|
|
$HTTP_RANGE_FILTER_MODULE \
|
|
|
|
$HTTP_CHARSET_FILTER_MODULE"
|
|
|
|
|
|
|
|
HTTP_MODULES="$HTTP_MODULES $HTTP_STATIC_MODULE $HTTP_INDEX_MODULE"
|
|
|
|
|
2004-02-20 00:48:14 +08:00
|
|
|
if [ $HTTP_REWRITE = YES -a $USE_PCRE != DISABLED ]; then
|
2004-02-03 05:19:52 +08:00
|
|
|
USE_PCRE=YES
|
|
|
|
HTTP_MODULES="$HTTP_MODULES $HTTP_REWRITE_MODULE"
|
|
|
|
HTTP_SRCS="$HTTP_SRCS $HTTP_REWRITE_SRCS"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $HTTP_GZIP = YES ]; then
|
|
|
|
USE_ZLIB=YES
|
|
|
|
HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_GZIP_FILTER_MODULE"
|
|
|
|
HTTP_SRCS="$HTTP_SRCS $HTTP_GZIP_SRCS"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $HTTP_SSI = YES ]; then
|
|
|
|
HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SSI_FILTER_MODULE"
|
|
|
|
HTTP_SRCS="$HTTP_SRCS $HTTP_SSI_SRCS"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $HTTP_PROXY = YES ]; then
|
|
|
|
USE_MD5=YES
|
|
|
|
HTTP_MODULES="$HTTP_MODULES $HTTP_PROXY_MODULE"
|
|
|
|
HTTP_INCS="$HTTP_INCS $HTTP_PROXY_INCS"
|
|
|
|
HTTP_DEPS="$HTTP_DEPS $HTTP_PROXY_DEPS"
|
|
|
|
HTTP_SRCS="$HTTP_SRCS $HTTP_PROXY_SRCS"
|
|
|
|
fi
|