[Pvfs2-cvs] commit by slang in pvfs2/maint/config: kernel.m4

CVS commit program cvs at parl.clemson.edu
Tue Mar 13 14:46:15 EST 2007


Update of /projects/cvsroot/pvfs2/maint/config
In directory parlweb1:/tmp/cvs-serv27971/maint/config

Modified Files:
      Tag: pvfs-2-6-branch
	kernel.m4 
Log Message:
merge 2.6: FC5 kernel blah blah something something


Index: kernel.m4
===================================================================
RCS file: /projects/cvsroot/pvfs2/maint/config/kernel.m4,v
diff -p -u -r1.21.6.8 -r1.21.6.9
--- kernel.m4	13 Mar 2007 19:30:28 -0000	1.21.6.8
+++ kernel.m4	13 Mar 2007 19:46:15 -0000	1.21.6.9
@@ -348,9 +348,12 @@ AC_DEFUN([AX_KERNEL_FEATURES],
 		)
 	fi
 
-	tmp_cflags=$CFLAGS
+	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
-	CFLAGS="$CFLAGS -Werror"
 	AC_MSG_CHECKING(if statfs callbacks' arguments in kernel has struct dentry argument)
 	dnl if this test passes, the kernel has it
 	dnl if this test fails, the kernel does not have it



More information about the Pvfs2-cvs mailing list