4 dnl # NULL inode_operations.readlink implies generic_readlink(), which
5 dnl # has been made static.
7 AC_DEFUN([ZFS_AC_KERNEL_GENERIC_READLINK_GLOBAL], [
8 AC_MSG_CHECKING([whether generic_readlink is global])
9 ZFS_LINUX_TRY_COMPILE([
12 int i __attribute__ ((unused));
14 i = generic_readlink(NULL, NULL, 0);
17 AC_DEFINE(HAVE_GENERIC_READLINK, 1,
18 [generic_readlink is global])