summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 8bcfcbe64..57de80ff0 100755
--- a/configure
+++ b/configure
@@ -484,14 +484,14 @@ if ($has_epoll) {
if ($line =~ /GNU C Library .* version (.*?) /)
{
$libcv = $1;
- $libcv =~ /([0-9\.\-])+/;
+ $libcv =~ /(\d+\.\d+)/;
$libcv = $1;
}
elsif ($line =~ /Compiled on a Linux (.*?\..*?)\.* system/)
{
$kernelv = $1;
# Fix for some retarded libc builds, strip off >> and << etc.
- $kernelv =~ /([0-9\.])+/;
+ $kernelv =~ /(\d+\.\d+)/;
$kernelv = $1;
}
}
@@ -512,6 +512,8 @@ if ($has_epoll) {
print "yes\n" if $has_epoll == 1;
print "no\n" if $has_epoll == 0;
+exit;
+
printf "Checking if Solaris I/O completion ports are available... ";
$has_ports = 0;
my $system = `uname -s`;