X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=d65b9850c1b36b6c10d026e0793a7fffd9d2f6ff;hb=231e833e4b84534131197569cb161c1349875708;hp=8bcfcbe6405439caf63372aebb1c6e02aeec87ae;hpb=d0d36795e807cf72295c6e73813e0c2daa0a71e7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index 8bcfcbe64..d65b9850c 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; } }