X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=0b27e2f17fdb8a668bd4446f0a06c4aefaa526e4;hb=9f1cefca61befadcb4bde6202385c79cd1e605cb;hp=5c51f2e960c2fe35a863c64e49bde2f0d76d88cb;hpb=6edfe13e49a4dc49fb349f47c9dfff1c58d6e96f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index 5c51f2e96..0b27e2f17 100755 --- a/configure +++ b/configure @@ -467,10 +467,16 @@ if ($has_epoll) { { # Suggestion from nenolod, weed out odd systems which have glibc built # against 2.4 kernels (ick) - + my $kernel_arch = `uname -p`; + chomp($kernel_arch); $libcv = 0.0; $kernelv = 0.0; - open (FH,"/lib/libc.so.6|") or $has_epoll = 0; + if ($kernel_arch =~ /x86_64/) { + open (FH,"/lib64/libc.so.6|") or $has_epoll = 0; + } + else { + open (FH,"/lib/libc.so.6|") or $has_epoll = 0; + } if ($has_epoll) { while (chomp($line = ))