diff auto/os/linux @ 1921:cf148caa9347

disable rtsig automatic building in post 2.6.18 Linux kernels
author Igor Sysoev <igor@sysoev.ru>
date Mon, 10 Mar 2008 14:35:21 +0000
parents 005bbad0df28
children 95f0145bbef4
line wrap: on
line diff
--- a/auto/os/linux
+++ b/auto/os/linux
@@ -22,9 +22,10 @@ version=`grep "#define LINUX_VERSION_COD
 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"