summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index ed80e9c41..5c51f2e96 100755
--- a/configure
+++ b/configure
@@ -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;