Add -p switch to "zpool get"
[zfs.git] / config / kernel-d-make-root.m4
1 dnl #
2 dnl # 3.4.0 API change
3 dnl # Added d_make_root() to replace previous d_alloc_root() function.
4 dnl #
5 AC_DEFUN([ZFS_AC_KERNEL_D_MAKE_ROOT],
6         [AC_MSG_CHECKING([whether d_make_root() is available])
7         ZFS_LINUX_TRY_COMPILE_SYMBOL([
8                 #include <linux/dcache.h>
9         ], [
10                 d_make_root(NULL);
11         ], [d_make_root], [fs/dcache.c], [
12                 AC_MSG_RESULT(yes)
13                 AC_DEFINE(HAVE_D_MAKE_ROOT, 1, [d_make_root() is available])
14         ], [
15                 AC_MSG_RESULT(no)
16         ])
17 ])