1dnl # 2dnl # 3.9 API change, 3dnl # Moved things from linux/sched.h to linux/sched/rt.h 4dnl # 5AC_DEFUN([ZFS_AC_KERNEL_SRC_SCHED_RT_HEADER], [ 6 ZFS_LINUX_TEST_SRC([sched_rt_header], [ 7 #include <linux/sched.h> 8 #include <linux/sched/rt.h> 9 ],[ 10 return 0; 11 ]) 12]) 13 14AC_DEFUN([ZFS_AC_KERNEL_SCHED_RT_HEADER], [ 15 AC_MSG_CHECKING([whether header linux/sched/rt.h exists]) 16 ZFS_LINUX_TEST_RESULT([sched_rt_header], [ 17 AC_MSG_RESULT(yes) 18 ],[ 19 ZFS_LINUX_TEST_ERROR([sched_rt_header]) 20 ]) 21]) 22 23AC_DEFUN([ZFS_AC_KERNEL_SRC_SCHED], [ 24 ZFS_AC_KERNEL_SRC_SCHED_RT_HEADER 25]) 26 27AC_DEFUN([ZFS_AC_KERNEL_SCHED], [ 28 ZFS_AC_KERNEL_SCHED_RT_HEADER 29]) 30