Restore clearing of L2CACHE flag in arc_read_done()
[zfs.git] / configure.ac
blob471fcfcec14e72d18c50ba1c1f2e10c6823ac45b
1 /*
2  * This file is part of the ZFS Linux port.
3  *
4  * Copyright (c) 2009 Lawrence Livermore National Security, LLC.
5  * Produced at Lawrence Livermore National Laboratory
6  * Written by:
7  *         Brian Behlendorf <behlendorf1@llnl.gov>,
8  *         Herb Wartens <wartens2@llnl.gov>,
9  *         Jim Garlick <garlick@llnl.gov>
10  * LLNL-CODE-403049
11  *
12  * CDDL HEADER START
13  *
14  * The contents of this file are subject to the terms of the
15  * Common Development and Distribution License, Version 1.0 only
16  * (the "License").  You may not use this file except in compliance
17  * with the License.
18  *
19  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
20  * or http://www.opensolaris.org/os/licensing.
21  * See the License for the specific language governing permissions
22  * and limitations under the License.
23  *
24  * When distributing Covered Code, include this CDDL HEADER in each
25  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
26  * If applicable, add the following below this CDDL HEADER, with the
27  * fields enclosed by brackets "[]" replaced with your own identifying
28  * information: Portions Copyright [yyyy] [name of copyright owner]
29  *
30  * CDDL HEADER END
31  */
33 AC_INIT(m4_esyscmd(grep ^Name: META | cut -d ':' -f 2 | tr -d ' \n'),
34         m4_esyscmd(grep ^Version: META | cut -d ':' -f 2 | tr -d ' \n'))
35 AC_LANG(C)
36 ZFS_AC_META
37 AC_CONFIG_AUX_DIR([config])
38 AC_CONFIG_MACRO_DIR([config])
39 AC_CANONICAL_SYSTEM
40 AM_MAINTAINER_MODE
41 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
42 AM_INIT_AUTOMAKE([subdir-objects])
43 AC_CONFIG_HEADERS([zfs_config.h], [
44         (mv zfs_config.h zfs_config.h.tmp &&
45         awk -f ${ac_srcdir}/config/config.awk zfs_config.h.tmp >zfs_config.h &&
46         rm zfs_config.h.tmp) || exit 1])
48 AC_PROG_INSTALL
49 AC_PROG_CC
50 AC_PROG_LIBTOOL
51 PKG_PROG_PKG_CONFIG
52 AM_PROG_AS
53 AM_PROG_CC_C_O
54 AX_CODE_COVERAGE
55 _AM_PROG_TAR(pax)
57 ZFS_AC_LICENSE
58 ZFS_AC_CONFIG
59 ZFS_AC_PACKAGE
60 ZFS_AC_DEBUG
61 ZFS_AC_DEBUGINFO
62 ZFS_AC_DEBUG_KMEM
63 ZFS_AC_DEBUG_KMEM_TRACKING
65 AC_CONFIG_FILES([
66         Makefile
67         cmd/Makefile
68         cmd/arc_summary/Makefile
69         cmd/arcstat/Makefile
70         cmd/dbufstat/Makefile
71         cmd/fsck_zfs/Makefile
72         cmd/mount_zfs/Makefile
73         cmd/raidz_test/Makefile
74         cmd/vdev_id/Makefile
75         cmd/zdb/Makefile
76         cmd/zed/Makefile
77         cmd/zed/zed.d/Makefile
78         cmd/zfs/Makefile
79         cmd/zfs_ids_to_path/Makefile
80         cmd/zgenhostid/Makefile
81         cmd/zhack/Makefile
82         cmd/zinject/Makefile
83         cmd/zpool/Makefile
84         cmd/zstream/Makefile
85         cmd/zstreamdump/Makefile
86         cmd/ztest/Makefile
87         cmd/zvol_id/Makefile
88         cmd/zvol_wait/Makefile
89         contrib/Makefile
90         contrib/bash_completion.d/Makefile
91         contrib/bpftrace/Makefile
92         contrib/dracut/02zfsexpandknowledge/Makefile
93         contrib/dracut/90zfs/Makefile
94         contrib/dracut/Makefile
95         contrib/initramfs/Makefile
96         contrib/initramfs/conf.d/Makefile
97         contrib/initramfs/conf-hooks.d/Makefile
98         contrib/initramfs/hooks/Makefile
99         contrib/initramfs/scripts/Makefile
100         contrib/initramfs/scripts/local-top/Makefile
101         contrib/pam_zfs_key/Makefile
102         contrib/pyzfs/Makefile
103         contrib/pyzfs/setup.py
104         contrib/zcp/Makefile
105         etc/Makefile
106         etc/default/Makefile
107         etc/init.d/Makefile
108         etc/modules-load.d/Makefile
109         etc/sudoers.d/Makefile
110         etc/systemd/Makefile
111         etc/systemd/system-generators/Makefile
112         etc/systemd/system/Makefile
113         etc/zfs/Makefile
114         include/Makefile
115         include/os/Makefile
116         include/os/freebsd/Makefile
117         include/os/freebsd/linux/Makefile
118         include/os/freebsd/spl/Makefile
119         include/os/freebsd/spl/acl/Makefile
120         include/os/freebsd/spl/rpc/Makefile
121         include/os/freebsd/spl/sys/Makefile
122         include/os/freebsd/zfs/Makefile
123         include/os/freebsd/zfs/sys/Makefile
124         include/os/linux/Makefile
125         include/os/linux/kernel/Makefile
126         include/os/linux/kernel/linux/Makefile
127         include/os/linux/spl/Makefile
128         include/os/linux/spl/rpc/Makefile
129         include/os/linux/spl/sys/Makefile
130         include/os/linux/zfs/Makefile
131         include/os/linux/zfs/sys/Makefile
132         include/sys/Makefile
133         include/sys/crypto/Makefile
134         include/sys/fm/Makefile
135         include/sys/fm/fs/Makefile
136         include/sys/fs/Makefile
137         include/sys/lua/Makefile
138         include/sys/sysevent/Makefile
139         include/sys/zstd/Makefile
140         lib/Makefile
141         lib/libavl/Makefile
142         lib/libefi/Makefile
143         lib/libicp/Makefile
144         lib/libnvpair/Makefile
145         lib/libshare/Makefile
146         lib/libspl/Makefile
147         lib/libspl/include/Makefile
148         lib/libspl/include/ia32/Makefile
149         lib/libspl/include/ia32/sys/Makefile
150         lib/libspl/include/os/Makefile
151         lib/libspl/include/os/freebsd/Makefile
152         lib/libspl/include/os/freebsd/sys/Makefile
153         lib/libspl/include/os/linux/Makefile
154         lib/libspl/include/os/linux/sys/Makefile
155         lib/libspl/include/rpc/Makefile
156         lib/libspl/include/sys/Makefile
157         lib/libspl/include/sys/dktp/Makefile
158         lib/libspl/include/util/Makefile
159         lib/libtpool/Makefile
160         lib/libunicode/Makefile
161         lib/libuutil/Makefile
162         lib/libzfs/Makefile
163         lib/libzfs/libzfs.pc
164         lib/libzfsbootenv/Makefile
165         lib/libzfsbootenv/libzfsbootenv.pc
166         lib/libzfs_core/Makefile
167         lib/libzfs_core/libzfs_core.pc
168         lib/libzpool/Makefile
169         lib/libzstd/Makefile
170         lib/libzutil/Makefile
171         man/Makefile
172         man/man1/Makefile
173         man/man5/Makefile
174         man/man8/Makefile
175         module/Kbuild
176         module/Makefile
177         module/avl/Makefile
178         module/icp/Makefile
179         module/lua/Makefile
180         module/nvpair/Makefile
181         module/os/linux/spl/Makefile
182         module/os/linux/zfs/Makefile
183         module/spl/Makefile
184         module/unicode/Makefile
185         module/zcommon/Makefile
186         module/zfs/Makefile
187         module/zstd/Makefile
188         rpm/Makefile
189         rpm/generic/Makefile
190         rpm/generic/zfs-dkms.spec
191         rpm/generic/zfs-kmod.spec
192         rpm/generic/zfs.spec
193         rpm/redhat/Makefile
194         rpm/redhat/zfs-dkms.spec
195         rpm/redhat/zfs-kmod.spec
196         rpm/redhat/zfs.spec
197         scripts/Makefile
198         tests/Makefile
199         tests/runfiles/Makefile
200         tests/test-runner/Makefile
201         tests/test-runner/bin/Makefile
202         tests/test-runner/include/Makefile
203         tests/test-runner/man/Makefile
204         tests/zfs-tests/Makefile
205         tests/zfs-tests/callbacks/Makefile
206         tests/zfs-tests/cmd/Makefile
207         tests/zfs-tests/cmd/btree_test/Makefile
208         tests/zfs-tests/cmd/chg_usr_exec/Makefile
209         tests/zfs-tests/cmd/devname2devid/Makefile
210         tests/zfs-tests/cmd/dir_rd_update/Makefile
211         tests/zfs-tests/cmd/file_check/Makefile
212         tests/zfs-tests/cmd/file_trunc/Makefile
213         tests/zfs-tests/cmd/file_write/Makefile
214         tests/zfs-tests/cmd/get_diff/Makefile
215         tests/zfs-tests/cmd/largest_file/Makefile
216         tests/zfs-tests/cmd/libzfs_input_check/Makefile
217         tests/zfs-tests/cmd/mkbusy/Makefile
218         tests/zfs-tests/cmd/mkfile/Makefile
219         tests/zfs-tests/cmd/mkfiles/Makefile
220         tests/zfs-tests/cmd/mktree/Makefile
221         tests/zfs-tests/cmd/mmap_exec/Makefile
222         tests/zfs-tests/cmd/mmap_libaio/Makefile
223         tests/zfs-tests/cmd/mmapwrite/Makefile
224         tests/zfs-tests/cmd/nvlist_to_lua/Makefile
225         tests/zfs-tests/cmd/randfree_file/Makefile
226         tests/zfs-tests/cmd/randwritecomp/Makefile
227         tests/zfs-tests/cmd/readmmap/Makefile
228         tests/zfs-tests/cmd/rename_dir/Makefile
229         tests/zfs-tests/cmd/rm_lnkcnt_zero_file/Makefile
230         tests/zfs-tests/cmd/stride_dd/Makefile
231         tests/zfs-tests/cmd/threadsappend/Makefile
232         tests/zfs-tests/cmd/user_ns_exec/Makefile
233         tests/zfs-tests/cmd/xattrtest/Makefile
234         tests/zfs-tests/include/Makefile
235         tests/zfs-tests/tests/Makefile
236         tests/zfs-tests/tests/functional/Makefile
237         tests/zfs-tests/tests/functional/acl/Makefile
238         tests/zfs-tests/tests/functional/acl/posix/Makefile
239         tests/zfs-tests/tests/functional/alloc_class/Makefile
240         tests/zfs-tests/tests/functional/arc/Makefile
241         tests/zfs-tests/tests/functional/atime/Makefile
242         tests/zfs-tests/tests/functional/bootfs/Makefile
243         tests/zfs-tests/tests/functional/btree/Makefile
244         tests/zfs-tests/tests/functional/cache/Makefile
245         tests/zfs-tests/tests/functional/cachefile/Makefile
246         tests/zfs-tests/tests/functional/casenorm/Makefile
247         tests/zfs-tests/tests/functional/channel_program/Makefile
248         tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile
249         tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile
250         tests/zfs-tests/tests/functional/chattr/Makefile
251         tests/zfs-tests/tests/functional/checksum/Makefile
252         tests/zfs-tests/tests/functional/clean_mirror/Makefile
253         tests/zfs-tests/tests/functional/cli_root/Makefile
254         tests/zfs-tests/tests/functional/cli_root/zdb/Makefile
255         tests/zfs-tests/tests/functional/cli_root/zfs/Makefile
256         tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/Makefile
257         tests/zfs-tests/tests/functional/cli_root/zfs_change-key/Makefile
258         tests/zfs-tests/tests/functional/cli_root/zfs_clone/Makefile
259         tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile
260         tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile
261         tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile
262         tests/zfs-tests/tests/functional/cli_root/zfs_diff/Makefile
263         tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile
264         tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/Makefile
265         tests/zfs-tests/tests/functional/cli_root/zfs_inherit/Makefile
266         tests/zfs-tests/tests/functional/cli_root/zfs_jail/Makefile
267         tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile
268         tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile
269         tests/zfs-tests/tests/functional/cli_root/zfs_program/Makefile
270         tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile
271         tests/zfs-tests/tests/functional/cli_root/zfs_property/Makefile
272         tests/zfs-tests/tests/functional/cli_root/zfs_receive/Makefile
273         tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile
274         tests/zfs-tests/tests/functional/cli_root/zfs_reservation/Makefile
275         tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile
276         tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile
277         tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile
278         tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile
279         tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile
280         tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/Makefile
281         tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/Makefile
282         tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile
283         tests/zfs-tests/tests/functional/cli_root/zfs_unshare/Makefile
284         tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile
285         tests/zfs-tests/tests/functional/cli_root/zfs_wait/Makefile
286         tests/zfs-tests/tests/functional/cli_root/zpool/Makefile
287         tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile
288         tests/zfs-tests/tests/functional/cli_root/zpool_attach/Makefile
289         tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile
290         tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile
291         tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile
292         tests/zfs-tests/tests/functional/cli_root/zpool_detach/Makefile
293         tests/zfs-tests/tests/functional/cli_root/zpool_events/Makefile
294         tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile
295         tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile
296         tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile
297         tests/zfs-tests/tests/functional/cli_root/zpool_history/Makefile
298         tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile
299         tests/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/Makefile
300         tests/zfs-tests/tests/functional/cli_root/zpool_initialize/Makefile
301         tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/Makefile
302         tests/zfs-tests/tests/functional/cli_root/zpool_offline/Makefile
303         tests/zfs-tests/tests/functional/cli_root/zpool_online/Makefile
304         tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile
305         tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile
306         tests/zfs-tests/tests/functional/cli_root/zpool_replace/Makefile
307         tests/zfs-tests/tests/functional/cli_root/zpool_resilver/Makefile
308         tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile
309         tests/zfs-tests/tests/functional/cli_root/zpool_set/Makefile
310         tests/zfs-tests/tests/functional/cli_root/zpool_split/Makefile
311         tests/zfs-tests/tests/functional/cli_root/zpool_status/Makefile
312         tests/zfs-tests/tests/functional/cli_root/zpool_sync/Makefile
313         tests/zfs-tests/tests/functional/cli_root/zpool_trim/Makefile
314         tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile
315         tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/Makefile
316         tests/zfs-tests/tests/functional/cli_root/zpool_wait/Makefile
317         tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/Makefile
318         tests/zfs-tests/tests/functional/cli_user/Makefile
319         tests/zfs-tests/tests/functional/cli_user/misc/Makefile
320         tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile
321         tests/zfs-tests/tests/functional/cli_user/zpool_iostat/Makefile
322         tests/zfs-tests/tests/functional/cli_user/zpool_list/Makefile
323         tests/zfs-tests/tests/functional/cli_user/zpool_status/Makefile
324         tests/zfs-tests/tests/functional/compression/Makefile
325         tests/zfs-tests/tests/functional/cp_files/Makefile
326         tests/zfs-tests/tests/functional/ctime/Makefile
327         tests/zfs-tests/tests/functional/deadman/Makefile
328         tests/zfs-tests/tests/functional/delegate/Makefile
329         tests/zfs-tests/tests/functional/devices/Makefile
330         tests/zfs-tests/tests/functional/events/Makefile
331         tests/zfs-tests/tests/functional/exec/Makefile
332         tests/zfs-tests/tests/functional/fallocate/Makefile
333         tests/zfs-tests/tests/functional/fault/Makefile
334         tests/zfs-tests/tests/functional/features/Makefile
335         tests/zfs-tests/tests/functional/features/async_destroy/Makefile
336         tests/zfs-tests/tests/functional/features/large_dnode/Makefile
337         tests/zfs-tests/tests/functional/grow/Makefile
338         tests/zfs-tests/tests/functional/history/Makefile
339         tests/zfs-tests/tests/functional/hkdf/Makefile
340         tests/zfs-tests/tests/functional/inheritance/Makefile
341         tests/zfs-tests/tests/functional/inuse/Makefile
342         tests/zfs-tests/tests/functional/io/Makefile
343         tests/zfs-tests/tests/functional/l2arc/Makefile
344         tests/zfs-tests/tests/functional/large_files/Makefile
345         tests/zfs-tests/tests/functional/largest_pool/Makefile
346         tests/zfs-tests/tests/functional/libzfs/Makefile
347         tests/zfs-tests/tests/functional/limits/Makefile
348         tests/zfs-tests/tests/functional/link_count/Makefile
349         tests/zfs-tests/tests/functional/log_spacemap/Makefile
350         tests/zfs-tests/tests/functional/migration/Makefile
351         tests/zfs-tests/tests/functional/mmap/Makefile
352         tests/zfs-tests/tests/functional/mmp/Makefile
353         tests/zfs-tests/tests/functional/mount/Makefile
354         tests/zfs-tests/tests/functional/mv_files/Makefile
355         tests/zfs-tests/tests/functional/nestedfs/Makefile
356         tests/zfs-tests/tests/functional/no_space/Makefile
357         tests/zfs-tests/tests/functional/nopwrite/Makefile
358         tests/zfs-tests/tests/functional/online_offline/Makefile
359         tests/zfs-tests/tests/functional/pam/Makefile
360         tests/zfs-tests/tests/functional/pool_checkpoint/Makefile
361         tests/zfs-tests/tests/functional/pool_names/Makefile
362         tests/zfs-tests/tests/functional/poolversion/Makefile
363         tests/zfs-tests/tests/functional/privilege/Makefile
364         tests/zfs-tests/tests/functional/procfs/Makefile
365         tests/zfs-tests/tests/functional/projectquota/Makefile
366         tests/zfs-tests/tests/functional/pyzfs/Makefile
367         tests/zfs-tests/tests/functional/quota/Makefile
368         tests/zfs-tests/tests/functional/raidz/Makefile
369         tests/zfs-tests/tests/functional/redacted_send/Makefile
370         tests/zfs-tests/tests/functional/redundancy/Makefile
371         tests/zfs-tests/tests/functional/refquota/Makefile
372         tests/zfs-tests/tests/functional/refreserv/Makefile
373         tests/zfs-tests/tests/functional/removal/Makefile
374         tests/zfs-tests/tests/functional/rename_dirs/Makefile
375         tests/zfs-tests/tests/functional/replacement/Makefile
376         tests/zfs-tests/tests/functional/reservation/Makefile
377         tests/zfs-tests/tests/functional/rootpool/Makefile
378         tests/zfs-tests/tests/functional/rsend/Makefile
379         tests/zfs-tests/tests/functional/scrub_mirror/Makefile
380         tests/zfs-tests/tests/functional/slog/Makefile
381         tests/zfs-tests/tests/functional/snapshot/Makefile
382         tests/zfs-tests/tests/functional/snapused/Makefile
383         tests/zfs-tests/tests/functional/sparse/Makefile
384         tests/zfs-tests/tests/functional/suid/Makefile
385         tests/zfs-tests/tests/functional/threadsappend/Makefile
386         tests/zfs-tests/tests/functional/tmpfile/Makefile
387         tests/zfs-tests/tests/functional/trim/Makefile
388         tests/zfs-tests/tests/functional/truncate/Makefile
389         tests/zfs-tests/tests/functional/upgrade/Makefile
390         tests/zfs-tests/tests/functional/user_namespace/Makefile
391         tests/zfs-tests/tests/functional/userquota/Makefile
392         tests/zfs-tests/tests/functional/vdev_zaps/Makefile
393         tests/zfs-tests/tests/functional/write_dirs/Makefile
394         tests/zfs-tests/tests/functional/xattr/Makefile
395         tests/zfs-tests/tests/functional/zvol/Makefile
396         tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/Makefile
397         tests/zfs-tests/tests/functional/zvol/zvol_cli/Makefile
398         tests/zfs-tests/tests/functional/zvol/zvol_misc/Makefile
399         tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile
400         tests/zfs-tests/tests/perf/Makefile
401         tests/zfs-tests/tests/perf/fio/Makefile
402         tests/zfs-tests/tests/perf/regression/Makefile
403         tests/zfs-tests/tests/perf/scripts/Makefile
404         tests/zfs-tests/tests/stress/Makefile
405         udev/Makefile
406         udev/rules.d/Makefile
407         zfs.release
411 AC_OUTPUT