4 AC_DEFUN([ZFS_AC_KERNEL_SHOW_OPTIONS], [
5 AC_MSG_CHECKING([whether sops->show_options() wants dentry])
7 ZFS_LINUX_TRY_COMPILE([
10 int (*show_options) (struct seq_file *, struct dentry *) = NULL;
11 struct super_operations sops __attribute__ ((unused));
13 sops.show_options = show_options;
16 AC_DEFINE(HAVE_SHOW_OPTIONS_WITH_DENTRY, 1,
17 [sops->show_options() with dentry])