summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-01 12:54:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-01 12:54:49 +0000
commit185cf48303e6f6760b7d1d1b0f037930b7e994b3 (patch)
tree47a06af413ce8f1f22c6a876f7955260cca65f9f
parent3d4131748f738c80c37b058ad19ec30d25b72906 (diff)
Removed regexp check on epoll
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3395 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure8
1 files changed, 1 insertions, 7 deletions
diff --git a/configure b/configure
index 287030524..79fedbb70 100755
--- a/configure
+++ b/configure
@@ -175,13 +175,7 @@ $has_epoll = 0;
$fail = 0;
open(EPOLL, "</usr/include/sys/epoll.h") or $fail = 1;
if (!$fail) {
- while (chomp($line = <EPOLL>)) {
- # try and find the declaration of:
- # extern int epoll_create (int __size) __THROW;
- if (($line =~ /int(\0x9|\s)+epoll_create(\0x9|\s)+\(/) || ($line =~ /int(\0x9|\s)+epoll_create\(/)) {
- $has_epoll = 1;
- }
- }
+ $has_epoll = 1;
close(EPOLL);
}
if ($has_epoll) {