summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-03-10 14:35:21 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-03-10 14:35:21 +0000
commit001a9cfa37b47f323c4c9197b58b5d92a1dabfe9 (patch)
treec9dd11dbf7e74dffcf524d9828be2133f335bcdb /auto
parentd48d0d9f422baf87d349814c58dc31761838f908 (diff)
disable rtsig automatic building in post 2.6.18 Linux kernels
Diffstat (limited to 'auto')
-rw-r--r--auto/os/linux5
1 files changed, 3 insertions, 2 deletions
diff --git a/auto/os/linux b/auto/os/linux
index 786b560e..6dd51a42 100644
--- a/auto/os/linux
+++ b/auto/os/linux
@@ -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"