On most linux systems (includeing RedHat, debian, and any system someone built their own kernel and ran 'make modules_install'),
/lib/modules/`uname -r`/build points to the correct kernel headers. This patch makes a './configure && make' much more likely to succeed.
? fidd Index: acinclude.m4 =================================================================== RCS file: /cvs/openafs/acinclude.m4,v retrieving revision 1.136 diff -r1.136 acinclude.m4 44c44 < [ --with-linux-kernel-headers=path use the kernel headers found at path(optional, defaults to /usr/src/linux-2.4, then /usr/src/linux)] --- > [ --with-linux-kernel-headers=path use the kernel headers found at > path(optional, defaults to /lib/modules/`uname -r`/build )] 118,121c118 < LINUX_KERNEL_PATH="/usr/src/linux-2.4" < if test ! -f "$LINUX_KERNEL_PATH/include/linux/version.h"; then < LINUX_KERNEL_PATH="/usr/src/linux" < fi --- > LINUX_KERNEL_PATH="/lib/modules/`uname -r`/build"
