]>
Commit | Line | Data |
---|---|---|
fc0c72b1 GN |
1 | dnl # |
2 | dnl # 4.2 API change | |
3 | dnl # asm/i387.h is replaced by asm/fpu/api.h | |
4 | dnl # | |
5 | AC_DEFUN([ZFS_AC_KERNEL_FPU], [ | |
6 | AC_MSG_CHECKING([whether asm/fpu/api.h exists]) | |
7 | ZFS_LINUX_TRY_COMPILE([ | |
8 | #include <linux/kernel.h> | |
9 | #include <asm/fpu/api.h> | |
10 | ],[ | |
11 | __kernel_fpu_begin(); | |
12 | ],[ | |
13 | AC_MSG_RESULT(yes) | |
14 | AC_DEFINE(HAVE_FPU_API_H, 1, [kernel has <asm/fpu/api.h> interface]) | |
15 | ],[ | |
16 | AC_MSG_RESULT(no) | |
17 | ]) | |
18 | ]) |