From 001a9cfa37b47f323c4c9197b58b5d92a1dabfe9 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 10 Mar 2008 14:35:21 +0000 Subject: disable rtsig automatic building in post 2.6.18 Linux kernels --- auto/os/linux | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'auto') diff --git a/auto/os/linux b/auto/os/linux index 786b560ea..6dd51a429 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" -- cgit