diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-08-25 14:12:14 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-08-25 14:12:14 +0000 |
commit | 931b3494791c7b8a457d3f4aef5082aafdd0e10f (patch) | |
tree | dd3f0b49ff66f93d767efb663c59905532a8d1d6 /configure | |
parent | 77fdd81d49941428db7bb6e30a2abae4b2dfdaf2 (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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } } |