[OpenAFS-devel] linux configure tests broken on 2.6.17-ish

Derek Atkins warlord@MIT.EDU
Mon, 26 Jun 2006 11:29:10 -0400


Troy Benjegerdes <hozer@hozed.org> writes:

> The configure tests for signal->rlim are broken on recent kernel
> versions..
[snip]
> This is on powerpc32.. has anyone tracked down what is going on here
> yet?
>
> I'm starting to think it would be better to explicitly use tests
> like '#if LINUX_KERNEL_VERSION > XXX' tests than to try to make
> configure understand this correctly.

These types of tests don't take into account vendor patches to the
kernel.  It's possible that Red Hat's 2.6.N kernel has this in one
place but SuSE's 2.6.N has it in a different place due to which
patches they have applied.  So, you really do want to test the kernel
headers.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available