summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-08-25 14:03:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-08-25 14:03:07 +0000
commit1571845458f48e7d747bc70be7078e5fef963481 (patch)
tree257efde7627d9078a61b324146512a73292da269
parent3e67be8a5106c06c3a93cde2d068279a75c94f88 (diff)
Fix for bug #72 reported by Hal9000
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1623 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
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;