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

CVS commit program cvs at parl.clemson.edu
Tue Dec 19 16:27:26 EST 2006


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

Modified Files:
	kernel.m4 
Log Message:
avoid false positive on ioctl32_conversion


Index: kernel.m4
===================================================================
RCS file: /projects/cvsroot/pvfs2/maint/config/kernel.m4,v
diff -u -p -p -u -r1.23 -r1.24
--- kernel.m4	3 Dec 2006 03:33:20 -0000	1.23
+++ kernel.m4	19 Dec 2006 21:27:26 -0000	1.24
@@ -617,6 +617,8 @@ AC_DEFUN([AX_KERNEL_FEATURES],
 	    AC_MSG_RESULT(no)
 	    )
 
+	dnl Gives wrong answer if header is missing; don't try then.
+	if test x$ac_cv_header_linux_ioctl32_h = xyes ; then
 	AC_MSG_CHECKING(for register_ioctl32_conversion kernel exports)
 	dnl if this test passes, the kernel does not have it
 	dnl if this test fails, the kernel has it defined
@@ -633,6 +635,7 @@ AC_DEFUN([AX_KERNEL_FEATURES],
 		AC_MSG_RESULT(yes)
 		AC_DEFINE(HAVE_REGISTER_IOCTL32_CONVERSION, 1, Define if kernel has register_ioctl32_conversion),
 	)
+	fi
 
 	AC_MSG_CHECKING(for int return value of kmem_cache_destroy)
 	AC_TRY_COMPILE([



More information about the Pvfs2-cvs mailing list