enabled)])],
[],
[enable_pthreaded_ubik="yes"])
+AC_ARG_ENABLE([ubik-read-while-write],
+ [AS_HELP_STRING([--enable-ubik-read-while-write],
+ [enable vlserver read from db cache during write locks (EXPERIMENTAL)])],
+ [],
+ [enable_ubik_read_while_write="no"])
dnl Kernel module build options.
AC_ARG_WITH([linux-kernel-headers],
AC_CHECK_LINUX_FUNC([inode_nohighmem],
[#include <linux/fs.h>],
[inode_nohighmem(NULL);])
+ AC_CHECK_LINUX_FUNC([inode_lock],
+ [#include <linux/fs.h>],
+ [inode_lock(NULL);])
dnl Consequences - things which get set as a result of the
dnl above tests
fi
AC_SUBST(USE_UNIX_SOCKETS)
+if test "$enable_ubik_read_while_write" = "yes"; then
+ AC_DEFINE(UBIK_READ_WHILE_WRITE, 1, [define if you want to enable ubik read while write])
+fi
+
if test "$enable_namei_fileserver" = "yes"; then
AC_DEFINE(AFS_NAMEI_ENV, 1, [define if you want to want namei fileserver])
VFSCK=""
fi
if test "$ac_cv_header_security_pam_modules_h" = yes -a "$enable_pam" = yes; then
- HAVE_PAM="YES"
+ HAVE_PAM="yes"
else
HAVE_PAM="no"
fi