X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=d65b9850c1b36b6c10d026e0793a7fffd9d2f6ff;hb=5d453a3265ae3b5f18a848bd88e771cd00e5d1a7;hp=bc81209d62ad70851f52e4b9eb8a5ec7077f40cc;hpb=74f26a0375191ce239b0e3542fc73e57b5e6c291;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index bc81209d6..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; } }