summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {