Files
mirror_zfs/config
Alexander ab49df487b Linux compat: fix DECLARE_EVENT_CLASS() test when ZFS is built-in
ZFS_LINUX_TRY_COMPILE_HEADER macro doesn't take CONFIG_ZFS=y into
account. As a result, on several latest Linux versions, configure
script marks DECLARE_EVENT_CLASS() available for non-GPL when ZFS
is being built as a module, but marks it unavailable when ZFS is
built-in.
Follow the logic of the neighbor macros and adjust
ZFS_LINUX_TRY_COMPILE_HEADER accordingly, so that it doesn't try
to look for a .ko when ZFS is built-in.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Closes #14006
2022-10-17 11:08:36 -07:00
..
2021-01-26 16:12:26 -08:00
2021-10-29 15:36:01 -07:00
2021-09-09 09:38:35 -07:00
2021-05-27 22:39:53 -07:00
2021-04-02 18:52:15 -07:00
2022-02-18 09:34:25 -08:00
2022-04-01 17:58:07 -07:00
2021-05-27 14:27:29 -06:00
2020-06-09 21:24:09 -07:00
2021-04-01 08:37:41 -07:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2022-03-14 12:37:39 -07:00
2021-01-02 16:55:55 -08:00
2019-08-30 09:40:30 -07:00
2022-03-28 10:24:22 -07:00
2021-01-02 16:55:55 -08:00
2022-03-28 10:24:22 -07:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00
2021-01-02 16:55:55 -08:00