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

CVS commit program cvs at parl.clemson.edu
Thu Oct 12 13:08:17 EDT 2006


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

Modified Files:
	kernel.m4 
Log Message:
fix build test so it fails properly


Index: kernel.m4
===================================================================
RCS file: /projects/cvsroot/pvfs2/maint/config/kernel.m4,v
diff -u -p -p -u -r1.16 -r1.17
--- kernel.m4	29 Sep 2006 16:48:13 -0000	1.16
+++ kernel.m4	12 Oct 2006 17:08:17 -0000	1.17
@@ -100,12 +100,12 @@ AC_DEFUN([AX_KERNEL_FEATURES],
 	)
 
 	dnl Check if the kernel defines the xtvec structure.
-	dnl This was part of a POSIX extension
+	dnl This is part of a POSIX extension.
 	AC_MSG_CHECKING(for struct xtvec in kernel)
 	AC_TRY_COMPILE([
 		#define __KERNEL__
 		#include <linux/uio.h>
-		static struct xtvec xv;
+		static struct xtvec xv = { 0, 0 };
 	], [],
 		AC_MSG_RESULT(yes)
 		AC_DEFINE(HAVE_STRUCT_XTVEC, 1, Define if struct xtvec is defined in the kernel),



More information about the Pvfs2-cvs mailing list