summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 0739a3b77..216ff1786 100755
--- a/configure
+++ b/configure
@@ -150,6 +150,12 @@ if (!$fail)
}
close(EPOLL);
}
+if ($has_epoll) {
+ my $kernel = `uname -r`;
+ if ($kernel !~ /2\.6/) {
+ $has_epoll = 0;
+ }
+}
print "yes\n" if $has_epoll == 1;
print "no\n" if $has_epoll == 0;