disable rtsig automatic building in post 2.6.18 Linux kernels

This commit is contained in:
Igor Sysoev
2008-03-10 14:35:21 +00:00
parent d48d0d9f42
commit 001a9cfa37
2 changed files with 14 additions and 6 deletions

View File

@@ -22,9 +22,10 @@ version=`grep "#define LINUX_VERSION_CODE" /usr/include/linux/version.h \
version=${version:-0}
# enable the rt signals on Linux 2.2.19 and onward
# enable the rt signals on Linux between 2.2.19 and 2.6.17
if [ $version -ge 131609 -o $EVENT_RTSIG = YES ]; then
if [ \( $version -ge 131609 -a $version -lt 132632 \) -o $EVENT_RTSIG = YES ]
then
echo " + rt signals found"
have=NGX_HAVE_RTSIG . auto/have
EVENT_MODULES="$EVENT_MODULES $RTSIG_MODULE"