diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -478,10 +478,15 @@ if ($has_epoll) { if ($line =~ /GNU C Library .* version (.*?) /) { $libcv = $1; + $libcv =~ /([0-9\.\-])+/; + $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 = $1; } } close FH; |