summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c4e3f20ee..435860405 100755
--- a/configure
+++ b/configure
@@ -430,7 +430,7 @@ if (!$fail) {
if ($has_epoll) {
my $kernel = `uname -r`;
chomp($kernel);
- if (($kernel =~ /2\.0/) || ($kernel =~ /2\.2/) || ($kernel =~ /2\.4/)) {
+ if (($kernel =~ /^2\.0\./) || ($kernel =~ /^2\.2\./) || ($kernel =~ /^2\.4\./)) {
$has_epoll = 0;
}
}