aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-signal-stop.m4
blob: 6cb86e7c4cde42b55ea90342d8b4e1670890240e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
dnl #
dnl # 4.4 API change
dnl # Added kernel_signal_stop
dnl #
AC_DEFUN([ZFS_AC_KERNEL_SRC_SIGNAL_STOP], [
	ZFS_LINUX_TEST_SRC([signal_stop], [
		#include <linux/sched/signal.h>
	],[
		kernel_signal_stop();
	])
])

AC_DEFUN([ZFS_AC_KERNEL_SIGNAL_STOP], [
	AC_MSG_CHECKING([whether signal_stop() exists])
	ZFS_LINUX_TEST_RESULT([signal_stop], [
		AC_MSG_RESULT(yes)
		AC_DEFINE(HAVE_SIGNAL_STOP, 1, [signal_stop() exists])
	],[
		AC_MSG_RESULT(no)
	])
])