[Pvfs2-cvs] commit by pcarns in pvfs2-1: configure pvfs2-config.h.in

CVS commit program cvs at parl.clemson.edu
Wed Feb 27 09:30:38 EST 2008


Update of /projects/cvsroot/pvfs2-1
In directory parlweb1:/tmp/cvs-serv8446

Modified Files:
	configure pvfs2-config.h.in 
Log Message:
updated device class configure test to make sure we don't give a positive
result on RHEL4 kernels


Index: configure
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/configure,v
diff -p -u -r1.381 -r1.382
--- configure	19 Feb 2008 17:38:04 -0000	1.381
+++ configure	27 Feb 2008 14:30:31 -0000	1.382
@@ -11397,7 +11397,7 @@ fi
 
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-		{ echo "$as_me:$LINENO: checking if kernel has device classes" >&5
+	                        	{ echo "$as_me:$LINENO: checking if kernel has device classes" >&5
 echo $ECHO_N "checking if kernel has device classes... $ECHO_C" >&6; }
 	cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
@@ -11413,7 +11413,7 @@ int
 main ()
 {
 
-	    class_create(NULL, "pvfs2")
+	    class_device_destroy(NULL, "pvfs2")
 
   ;
   return 0;
@@ -17031,7 +17031,7 @@ if test "$ac_res" != no; then
   ac_cv_func_getmntent=yes
 
 cat >>confdefs.h <<\_ACEOF
-#define HAVE_GETMNTENT
+#define HAVE_GETMNTENT 1
 _ACEOF
 
 else

Index: pvfs2-config.h.in
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/pvfs2-config.h.in,v
diff -p -u -r1.115 -r1.116
--- pvfs2-config.h.in	19 Feb 2008 17:38:07 -0000	1.115
+++ pvfs2-config.h.in	27 Feb 2008 14:30:37 -0000	1.116
@@ -156,7 +156,7 @@
 /* Define if kernel has i_size_write */
 #undef HAVE_I_SIZE_WRITE
 
-/* Define if kernel lacks device classes */
+/* Define if kernel has device classes */
 #undef HAVE_KERNEL_DEVICE_CLASSES
 
 /* Define if kernel kmem_cache_create constructor has new-style two-parameter



More information about the Pvfs2-cvs mailing list