nginx-0.0.7-2004-07-05-10:55:54 import

This commit is contained in:
Igor Sysoev
2004-07-05 06:55:54 +00:00
parent 98c1cf18c1
commit 32fcd5cf64
19 changed files with 789 additions and 480 deletions

View File

@@ -54,11 +54,29 @@ if [ \( $version -lt 500000 -a $version -ge 430000 \) \
-o $version -ge 500018 ]
then
echo " + using kqueue's NOTE_LOWAT"
have=HAVE_LOWAT_EVENT . auto/have
fi
if [ $USE_THREADS = "rfork" ]; then
echo " + using rfork()"
# kqueue's EVFILT_SIGNAL is safe
if [ $version -gt 460101 ]; then
echo " + kqueue's EVFILT_SIGNAL is safe"
have=HAVE_SAFE_EVFILT_SIGNAL . auto/have
else
echo "$0: error: the kqueue's EVFILT_SIGNAL is unsafe on this"
echo "FreeBSD version, so --with-threads=rfork could not be used"
echo
exit 1
fi
fi
if [ $EVENT_AIO = YES ]; then
have=HAVE_AIO . auto/have
EVENT_MODULES="$EVENT_MODULES $AIO_MODULE"