[#include <linux/fs.h>],
[void],
[struct inode *inode, void *link_data])
+ AC_CHECK_LINUX_OPERATION([inode_operations], [rename], [takes_flags],
+ [#include <linux/fs.h>],
+ [int],
+ [struct inode *oinode, struct dentry *odentry,
+ struct inode *ninode, struct dentry *ndentry,
+ unsigned int flags])
dnl Check for header files
AC_CHECK_LINUX_HEADER([config.h])
AC_CHECK_LINUX_STRUCT([ctl_table], [ctl_name], [sysctl.h])
AC_CHECK_LINUX_STRUCT([dentry], [d_u.d_alias], [dcache.h])
AC_CHECK_LINUX_STRUCT([dentry_operations], [d_automount], [dcache.h])
+ AC_CHECK_LINUX_STRUCT([group_info], [gid], [cred.h])
AC_CHECK_LINUX_STRUCT([inode], [i_alloc_sem], [fs.h])
AC_CHECK_LINUX_STRUCT([inode], [i_blkbits], [fs.h])
AC_CHECK_LINUX_STRUCT([inode], [i_blksize], [fs.h])
AC_CHECK_LINUX_FUNC([set_nlink],
[#include <linux/fs.h>],
[set_nlink(NULL, 1);])
+ AC_CHECK_LINUX_FUNC([setattr_prepare],
+ [#include <linux/fs.h>],
+ [setattr_prepare(NULL, NULL);])
AC_CHECK_LINUX_FUNC([sock_create_kern],
[#include <linux/net.h>],
[sock_create_kern(0, 0, 0, NULL);])
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