From 931b3494791c7b8a457d3f4aef5082aafdd0e10f Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 25 Aug 2005 14:12:14 +0000 Subject: 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') 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; } } -- cgit v1.2.3