Skip to content

Commit

Permalink
Removed regexp check on epoll
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3395 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
braindigitalis committed Mar 1, 2006
1 parent 3d41317 commit 185cf48
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions configure
Expand Up @@ -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) {
Expand Down

0 comments on commit 185cf48

Please sign in to comment.