]) # LC_VFS_RENAME_5ARGS
#
+# LC_VFS_UNLINK_3ARGS
+#
+# 3.13 has vfs_renane with 3 args
+#
+AC_DEFUN([LC_VFS_UNLINK_3ARGS], [
+LB_CHECK_COMPILE([if Linux kernel has 'vfs_unlink' with 3 args],
+vfs_unlink_3args, [
+ #include <linux/fs.h>
+],[
+ vfs_unlink(NULL, NULL, NULL);
+], [
+ AC_DEFINE(HAVE_VFS_UNLINK_3ARGS, 1,
+ [kernel has vfs_unlink with 3 args])
+])
+]) # LC_VFS_UNLINK_3ARGS
+
+#
# LC_PROG_LINUX
#
# Lustre linux kernel checks
# 3.13
LC_VFS_RENAME_5ARGS
+ LC_VFS_UNLINK_3ARGS
#
AS_IF([test "x$enable_server" != xno], [
AC_DEFUN([LC_CONFIG_LIBLUSTRE], [
AC_MSG_CHECKING([whether to build Lustre library])
AC_ARG_ENABLE([liblustre],
- AC_HELP_STRING([--disable-liblustre],
- [disable building of Lustre library]),
- [], [enable_liblustre=$with_sysio])
+ AC_HELP_STRING([--enable-liblustre],
+ [enable building of Lustre library]),
+ [], [])
AC_MSG_RESULT([$enable_liblustre])
# only build sysio if liblustre is built