summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-08-25 14:12:14 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-08-25 14:12:14 +0000
commit931b3494791c7b8a457d3f4aef5082aafdd0e10f (patch)
treedd3f0b49ff66f93d767efb663c59905532a8d1d6 /configure
parent77fdd81d49941428db7bb6e30a2abae4b2dfdaf2 (diff)
Fixed code so that it will still work with kernel 2.8, 3.0, 3.2... whoops.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1625 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 1ec70a147..d604b3a14 100755
--- a/configure
+++ b/configure
@@ -153,7 +153,7 @@ if (!$fail)
if ($has_epoll) {
my $kernel = `uname -r`;
chomp($kernel);
- if ($kernel !~ /2\.6/) {
+ if (($kernel =~ /2\.0/) || ($kernel =~ /2\.2/) || ($kernel =~ /2\.4/)) {
$has_epoll = 0;
}
}