From 1571845458f48e7d747bc70be7078e5fef963481 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 25 Aug 2005 14:03:07 +0000 Subject: Fix for bug #72 reported by Hal9000 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1623 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- cgit v1.2.3