]>
Commit | Line | Data |
---|---|---|
414f7249 PD |
1 | dnl # |
2 | dnl # 4.4 API change | |
3 | dnl # Added kernel_signal_stop | |
4 | dnl # | |
5 | AC_DEFUN([ZFS_AC_KERNEL_SRC_SIGNAL_STOP], [ | |
6 | ZFS_LINUX_TEST_SRC([signal_stop], [ | |
7 | #include <linux/sched/signal.h> | |
8 | ],[ | |
9 | kernel_signal_stop(); | |
10 | ]) | |
11 | ]) | |
12 | ||
13 | AC_DEFUN([ZFS_AC_KERNEL_SIGNAL_STOP], [ | |
14 | AC_MSG_CHECKING([whether signal_stop() exists]) | |
15 | ZFS_LINUX_TEST_RESULT([signal_stop], [ | |
16 | AC_MSG_RESULT(yes) | |
17 | AC_DEFINE(HAVE_SIGNAL_STOP, 1, [signal_stop() exists]) | |
18 | ],[ | |
19 | AC_MSG_RESULT(no) | |
20 | ]) | |
21 | ]) |