[Pvfs2-cvs] commit by pw in pvfs2: configure.in

CVS commit program cvs at parl.clemson.edu
Fri Jul 20 10:02:53 EDT 2007


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

Modified Files:
	configure.in 
Log Message:
Machines without ioctl will complain on the uses of _IOR and so forth,
as well as ioctl, poll calls.  The code to implement getting requests
through a character device runs through about 12 files in the source
tree.  Rather than hacking out all the linux-kmod-related bits, selectively
disable just the main commands but leave it all harmlessly compiled in.
A new configure variable tells if a linux kernel module was requested.


Index: configure.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure.in,v
diff -u -p -p -u -r1.322 -r1.323
--- configure.in	19 Jul 2007 22:38:37 -0000	1.322
+++ configure.in	20 Jul 2007 14:02:53 -0000	1.323
@@ -511,6 +511,7 @@ AC_ARG_ENABLE(kernel-sendfile,
 
 if test -n "$lk_src" ; then
     AX_KERNEL_FEATURES
+    AC_DEFINE(WITH_LINUX_KMOD, 1, [Define to build for linux kernel module userspace helper.])
 fi
 
 dnl PAV configuration needs absolute location of source and build.



More information about the Pvfs2-cvs mailing list