xref: /freebsd/sys/contrib/openzfs/config/kernel-siginfo.m4 (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1dnl #
2dnl # 4.20 API change
3dnl # Added kernel_siginfo_t
4dnl #
5AC_DEFUN([ZFS_AC_KERNEL_SRC_SIGINFO], [
6	ZFS_LINUX_TEST_SRC([siginfo], [
7		#include <linux/signal_types.h>
8	],[
9		kernel_siginfo_t info __attribute__ ((unused));
10	])
11])
12
13AC_DEFUN([ZFS_AC_KERNEL_SIGINFO], [
14	AC_MSG_CHECKING([whether kernel_siginfo_t tyepedef exists])
15	ZFS_LINUX_TEST_RESULT([siginfo], [
16		AC_MSG_RESULT(yes)
17		AC_DEFINE(HAVE_SIGINFO, 1, [kernel_siginfo_t exists])
18	],[
19		AC_MSG_RESULT(no)
20	])
21])
22