diff options
-rwxr-xr-x | configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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`; |