--- maint/config/kernel.m4.old 2007-04-30 16:46:16.000000000 +0200 +++ maint/config/kernel.m4 2007-04-30 16:48:26.000000000 +0200 @@ -348,11 +348,8 @@ ) fi - dnl we need the compiler to error on warnings about prototypes, but - dnl certain Fedora FC5 kernel header files throw extra (spurious) - dnl warnings, which -Wno-pointer-sign silences. + tmp_cflags=$CFLAGS - CFLAGS="$CFLAGS -Werror -Wno-pointer-sign" dnl if this test passes, there is a struct dentry* argument AC_MSG_CHECKING(if statfs callbacks' arguments in kernel has struct dentry argument) dnl if this test passes, the kernel has it