1dnl # 2dnl # 2.6.28 API change, 3dnl # check if fmode_t typedef is defined 4dnl # 5AC_DEFUN([ZFS_AC_KERNEL_SRC_FMODE_T], [ 6 ZFS_LINUX_TEST_SRC([type_fmode_t], [ 7 #include <linux/types.h> 8 ],[ 9 fmode_t *ptr __attribute__ ((unused)); 10 ]) 11]) 12 13AC_DEFUN([ZFS_AC_KERNEL_FMODE_T], [ 14 AC_MSG_CHECKING([whether kernel defines fmode_t]) 15 ZFS_LINUX_TEST_RESULT([type_fmode_t], [ 16 AC_MSG_RESULT([yes]) 17 ],[ 18 ZFS_LINUX_TEST_ERROR([type_fmode_t]) 19 ]) 20]) 21