xref: /freebsd/sys/contrib/openzfs/configure.ac (revision 16038816)
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 */
32
33AC_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'))
35AC_LANG(C)
36ZFS_AC_META
37AC_CONFIG_AUX_DIR([config])
38AC_CONFIG_MACRO_DIR([config])
39AC_CANONICAL_TARGET
40AM_MAINTAINER_MODE
41m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
42AM_INIT_AUTOMAKE([subdir-objects])
43AC_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])
47
48LT_INIT
49AC_PROG_INSTALL
50AC_PROG_CC
51AC_PROG_LN_S
52PKG_PROG_PKG_CONFIG
53AM_PROG_AS
54AM_PROG_CC_C_O
55AX_CODE_COVERAGE
56_AM_PROG_TAR(pax)
57
58ZFS_AC_LICENSE
59ZFS_AC_CONFIG
60ZFS_AC_PACKAGE
61ZFS_AC_DEBUG
62ZFS_AC_DEBUGINFO
63ZFS_AC_DEBUG_KMEM
64ZFS_AC_DEBUG_KMEM_TRACKING
65ZFS_AC_DEBUG_INVARIANTS
66
67AC_CONFIG_FILES([
68	Makefile
69	cmd/Makefile
70	cmd/arc_summary/Makefile
71	cmd/arcstat/Makefile
72	cmd/dbufstat/Makefile
73	cmd/fsck_zfs/Makefile
74	cmd/mount_zfs/Makefile
75	cmd/raidz_test/Makefile
76	cmd/vdev_id/Makefile
77	cmd/zdb/Makefile
78	cmd/zed/Makefile
79	cmd/zed/zed.d/Makefile
80	cmd/zfs/Makefile
81	cmd/zfs_ids_to_path/Makefile
82	cmd/zgenhostid/Makefile
83	cmd/zhack/Makefile
84	cmd/zinject/Makefile
85	cmd/zpool/Makefile
86	cmd/zstream/Makefile
87	cmd/ztest/Makefile
88	cmd/zvol_id/Makefile
89	cmd/zvol_wait/Makefile
90	cmd/zpool_influxdb/Makefile
91	contrib/Makefile
92	contrib/bash_completion.d/Makefile
93	contrib/bpftrace/Makefile
94	contrib/dracut/02zfsexpandknowledge/Makefile
95	contrib/dracut/90zfs/Makefile
96	contrib/dracut/Makefile
97	contrib/initramfs/Makefile
98	contrib/initramfs/conf.d/Makefile
99	contrib/initramfs/conf-hooks.d/Makefile
100	contrib/initramfs/hooks/Makefile
101	contrib/initramfs/scripts/Makefile
102	contrib/initramfs/scripts/local-top/Makefile
103	contrib/pam_zfs_key/Makefile
104	contrib/pyzfs/Makefile
105	contrib/pyzfs/setup.py
106	contrib/zcp/Makefile
107	etc/Makefile
108	etc/default/Makefile
109	etc/init.d/Makefile
110	etc/modules-load.d/Makefile
111	etc/sudoers.d/Makefile
112	etc/systemd/Makefile
113	etc/systemd/system-generators/Makefile
114	etc/systemd/system/Makefile
115	etc/zfs/Makefile
116	include/Makefile
117	include/os/Makefile
118	include/os/freebsd/Makefile
119	include/os/freebsd/linux/Makefile
120	include/os/freebsd/spl/Makefile
121	include/os/freebsd/spl/acl/Makefile
122	include/os/freebsd/spl/rpc/Makefile
123	include/os/freebsd/spl/sys/Makefile
124	include/os/freebsd/zfs/Makefile
125	include/os/freebsd/zfs/sys/Makefile
126	include/os/linux/Makefile
127	include/os/linux/kernel/Makefile
128	include/os/linux/kernel/linux/Makefile
129	include/os/linux/spl/Makefile
130	include/os/linux/spl/rpc/Makefile
131	include/os/linux/spl/sys/Makefile
132	include/os/linux/zfs/Makefile
133	include/os/linux/zfs/sys/Makefile
134	include/sys/Makefile
135	include/sys/crypto/Makefile
136	include/sys/fm/Makefile
137	include/sys/fm/fs/Makefile
138	include/sys/fs/Makefile
139	include/sys/lua/Makefile
140	include/sys/sysevent/Makefile
141	include/sys/zstd/Makefile
142	lib/Makefile
143	lib/libavl/Makefile
144	lib/libefi/Makefile
145	lib/libicp/Makefile
146	lib/libnvpair/Makefile
147	lib/libshare/Makefile
148	lib/libspl/Makefile
149	lib/libspl/include/Makefile
150	lib/libspl/include/ia32/Makefile
151	lib/libspl/include/ia32/sys/Makefile
152	lib/libspl/include/os/Makefile
153	lib/libspl/include/os/freebsd/Makefile
154	lib/libspl/include/os/freebsd/sys/Makefile
155	lib/libspl/include/os/linux/Makefile
156	lib/libspl/include/os/linux/sys/Makefile
157	lib/libspl/include/rpc/Makefile
158	lib/libspl/include/sys/Makefile
159	lib/libspl/include/sys/dktp/Makefile
160	lib/libspl/include/util/Makefile
161	lib/libtpool/Makefile
162	lib/libunicode/Makefile
163	lib/libuutil/Makefile
164	lib/libzfs/Makefile
165	lib/libzfs/libzfs.pc
166	lib/libzfsbootenv/Makefile
167	lib/libzfsbootenv/libzfsbootenv.pc
168	lib/libzfs_core/Makefile
169	lib/libzfs_core/libzfs_core.pc
170	lib/libzpool/Makefile
171	lib/libzstd/Makefile
172	lib/libzutil/Makefile
173	man/Makefile
174	man/man1/Makefile
175	man/man5/Makefile
176	man/man8/Makefile
177	module/Kbuild
178	module/Makefile
179	module/avl/Makefile
180	module/icp/Makefile
181	module/lua/Makefile
182	module/nvpair/Makefile
183	module/os/linux/spl/Makefile
184	module/os/linux/zfs/Makefile
185	module/spl/Makefile
186	module/unicode/Makefile
187	module/zcommon/Makefile
188	module/zfs/Makefile
189	module/zstd/Makefile
190	rpm/Makefile
191	rpm/generic/Makefile
192	rpm/generic/zfs-dkms.spec
193	rpm/generic/zfs-kmod.spec
194	rpm/generic/zfs.spec
195	rpm/redhat/Makefile
196	rpm/redhat/zfs-dkms.spec
197	rpm/redhat/zfs-kmod.spec
198	rpm/redhat/zfs.spec
199	scripts/Makefile
200	tests/Makefile
201	tests/runfiles/Makefile
202	tests/test-runner/Makefile
203	tests/test-runner/bin/Makefile
204	tests/test-runner/include/Makefile
205	tests/test-runner/man/Makefile
206	tests/zfs-tests/Makefile
207	tests/zfs-tests/callbacks/Makefile
208	tests/zfs-tests/cmd/Makefile
209	tests/zfs-tests/cmd/badsend/Makefile
210	tests/zfs-tests/cmd/btree_test/Makefile
211	tests/zfs-tests/cmd/chg_usr_exec/Makefile
212	tests/zfs-tests/cmd/devname2devid/Makefile
213	tests/zfs-tests/cmd/draid/Makefile
214	tests/zfs-tests/cmd/dir_rd_update/Makefile
215	tests/zfs-tests/cmd/file_check/Makefile
216	tests/zfs-tests/cmd/file_trunc/Makefile
217	tests/zfs-tests/cmd/file_write/Makefile
218	tests/zfs-tests/cmd/get_diff/Makefile
219	tests/zfs-tests/cmd/largest_file/Makefile
220	tests/zfs-tests/cmd/libzfs_input_check/Makefile
221	tests/zfs-tests/cmd/mkbusy/Makefile
222	tests/zfs-tests/cmd/mkfile/Makefile
223	tests/zfs-tests/cmd/mkfiles/Makefile
224	tests/zfs-tests/cmd/mktree/Makefile
225	tests/zfs-tests/cmd/mmap_exec/Makefile
226	tests/zfs-tests/cmd/mmap_libaio/Makefile
227	tests/zfs-tests/cmd/mmapwrite/Makefile
228	tests/zfs-tests/cmd/nvlist_to_lua/Makefile
229	tests/zfs-tests/cmd/randfree_file/Makefile
230	tests/zfs-tests/cmd/randwritecomp/Makefile
231	tests/zfs-tests/cmd/readmmap/Makefile
232	tests/zfs-tests/cmd/rename_dir/Makefile
233	tests/zfs-tests/cmd/rm_lnkcnt_zero_file/Makefile
234	tests/zfs-tests/cmd/send_doall/Makefile
235	tests/zfs-tests/cmd/stride_dd/Makefile
236	tests/zfs-tests/cmd/threadsappend/Makefile
237	tests/zfs-tests/cmd/user_ns_exec/Makefile
238	tests/zfs-tests/cmd/xattrtest/Makefile
239	tests/zfs-tests/include/Makefile
240	tests/zfs-tests/tests/Makefile
241	tests/zfs-tests/tests/functional/Makefile
242	tests/zfs-tests/tests/functional/acl/Makefile
243	tests/zfs-tests/tests/functional/acl/off/Makefile
244	tests/zfs-tests/tests/functional/acl/posix/Makefile
245	tests/zfs-tests/tests/functional/acl/posix-sa/Makefile
246	tests/zfs-tests/tests/functional/alloc_class/Makefile
247	tests/zfs-tests/tests/functional/arc/Makefile
248	tests/zfs-tests/tests/functional/atime/Makefile
249	tests/zfs-tests/tests/functional/bootfs/Makefile
250	tests/zfs-tests/tests/functional/btree/Makefile
251	tests/zfs-tests/tests/functional/cache/Makefile
252	tests/zfs-tests/tests/functional/cachefile/Makefile
253	tests/zfs-tests/tests/functional/casenorm/Makefile
254	tests/zfs-tests/tests/functional/channel_program/Makefile
255	tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile
256	tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile
257	tests/zfs-tests/tests/functional/chattr/Makefile
258	tests/zfs-tests/tests/functional/checksum/Makefile
259	tests/zfs-tests/tests/functional/clean_mirror/Makefile
260	tests/zfs-tests/tests/functional/cli_root/Makefile
261	tests/zfs-tests/tests/functional/cli_root/zdb/Makefile
262	tests/zfs-tests/tests/functional/cli_root/zfs/Makefile
263	tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/Makefile
264	tests/zfs-tests/tests/functional/cli_root/zfs_change-key/Makefile
265	tests/zfs-tests/tests/functional/cli_root/zfs_clone/Makefile
266	tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile
267	tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile
268	tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile
269	tests/zfs-tests/tests/functional/cli_root/zfs_diff/Makefile
270	tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile
271	tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/Makefile
272	tests/zfs-tests/tests/functional/cli_root/zfs_inherit/Makefile
273	tests/zfs-tests/tests/functional/cli_root/zfs_jail/Makefile
274	tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile
275	tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile
276	tests/zfs-tests/tests/functional/cli_root/zfs_program/Makefile
277	tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile
278	tests/zfs-tests/tests/functional/cli_root/zfs_property/Makefile
279	tests/zfs-tests/tests/functional/cli_root/zfs_receive/Makefile
280	tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile
281	tests/zfs-tests/tests/functional/cli_root/zfs_reservation/Makefile
282	tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile
283	tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile
284	tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile
285	tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile
286	tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile
287	tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/Makefile
288	tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/Makefile
289	tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile
290	tests/zfs-tests/tests/functional/cli_root/zfs_unshare/Makefile
291	tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile
292	tests/zfs-tests/tests/functional/cli_root/zfs_wait/Makefile
293	tests/zfs-tests/tests/functional/cli_root/zpool/Makefile
294	tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile
295	tests/zfs-tests/tests/functional/cli_root/zpool_attach/Makefile
296	tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile
297	tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile
298	tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile
299	tests/zfs-tests/tests/functional/cli_root/zpool_detach/Makefile
300	tests/zfs-tests/tests/functional/cli_root/zpool_events/Makefile
301	tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile
302	tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile
303	tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile
304	tests/zfs-tests/tests/functional/cli_root/zpool_history/Makefile
305	tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile
306	tests/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/Makefile
307	tests/zfs-tests/tests/functional/cli_root/zpool_initialize/Makefile
308	tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/Makefile
309	tests/zfs-tests/tests/functional/cli_root/zpool_offline/Makefile
310	tests/zfs-tests/tests/functional/cli_root/zpool_online/Makefile
311	tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile
312	tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile
313	tests/zfs-tests/tests/functional/cli_root/zpool_replace/Makefile
314	tests/zfs-tests/tests/functional/cli_root/zpool_resilver/Makefile
315	tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile
316	tests/zfs-tests/tests/functional/cli_root/zpool_set/Makefile
317	tests/zfs-tests/tests/functional/cli_root/zpool_split/Makefile
318	tests/zfs-tests/tests/functional/cli_root/zpool_status/Makefile
319	tests/zfs-tests/tests/functional/cli_root/zpool_sync/Makefile
320	tests/zfs-tests/tests/functional/cli_root/zpool_trim/Makefile
321	tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile
322	tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/Makefile
323	tests/zfs-tests/tests/functional/cli_root/zpool_wait/Makefile
324	tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/Makefile
325	tests/zfs-tests/tests/functional/cli_user/Makefile
326	tests/zfs-tests/tests/functional/cli_user/misc/Makefile
327	tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile
328	tests/zfs-tests/tests/functional/cli_user/zpool_iostat/Makefile
329	tests/zfs-tests/tests/functional/cli_user/zpool_list/Makefile
330	tests/zfs-tests/tests/functional/cli_user/zpool_status/Makefile
331	tests/zfs-tests/tests/functional/compression/Makefile
332	tests/zfs-tests/tests/functional/cp_files/Makefile
333	tests/zfs-tests/tests/functional/ctime/Makefile
334	tests/zfs-tests/tests/functional/deadman/Makefile
335	tests/zfs-tests/tests/functional/delegate/Makefile
336	tests/zfs-tests/tests/functional/devices/Makefile
337	tests/zfs-tests/tests/functional/events/Makefile
338	tests/zfs-tests/tests/functional/exec/Makefile
339	tests/zfs-tests/tests/functional/fallocate/Makefile
340	tests/zfs-tests/tests/functional/fault/Makefile
341	tests/zfs-tests/tests/functional/features/Makefile
342	tests/zfs-tests/tests/functional/features/async_destroy/Makefile
343	tests/zfs-tests/tests/functional/features/large_dnode/Makefile
344	tests/zfs-tests/tests/functional/grow/Makefile
345	tests/zfs-tests/tests/functional/history/Makefile
346	tests/zfs-tests/tests/functional/hkdf/Makefile
347	tests/zfs-tests/tests/functional/inheritance/Makefile
348	tests/zfs-tests/tests/functional/inuse/Makefile
349	tests/zfs-tests/tests/functional/io/Makefile
350	tests/zfs-tests/tests/functional/l2arc/Makefile
351	tests/zfs-tests/tests/functional/large_files/Makefile
352	tests/zfs-tests/tests/functional/largest_pool/Makefile
353	tests/zfs-tests/tests/functional/libzfs/Makefile
354	tests/zfs-tests/tests/functional/limits/Makefile
355	tests/zfs-tests/tests/functional/link_count/Makefile
356	tests/zfs-tests/tests/functional/log_spacemap/Makefile
357	tests/zfs-tests/tests/functional/migration/Makefile
358	tests/zfs-tests/tests/functional/mmap/Makefile
359	tests/zfs-tests/tests/functional/mmp/Makefile
360	tests/zfs-tests/tests/functional/mount/Makefile
361	tests/zfs-tests/tests/functional/mv_files/Makefile
362	tests/zfs-tests/tests/functional/nestedfs/Makefile
363	tests/zfs-tests/tests/functional/no_space/Makefile
364	tests/zfs-tests/tests/functional/nopwrite/Makefile
365	tests/zfs-tests/tests/functional/online_offline/Makefile
366	tests/zfs-tests/tests/functional/pam/Makefile
367	tests/zfs-tests/tests/functional/pool_checkpoint/Makefile
368	tests/zfs-tests/tests/functional/pool_names/Makefile
369	tests/zfs-tests/tests/functional/poolversion/Makefile
370	tests/zfs-tests/tests/functional/privilege/Makefile
371	tests/zfs-tests/tests/functional/procfs/Makefile
372	tests/zfs-tests/tests/functional/projectquota/Makefile
373	tests/zfs-tests/tests/functional/pyzfs/Makefile
374	tests/zfs-tests/tests/functional/quota/Makefile
375	tests/zfs-tests/tests/functional/raidz/Makefile
376	tests/zfs-tests/tests/functional/redacted_send/Makefile
377	tests/zfs-tests/tests/functional/redundancy/Makefile
378	tests/zfs-tests/tests/functional/refquota/Makefile
379	tests/zfs-tests/tests/functional/refreserv/Makefile
380	tests/zfs-tests/tests/functional/removal/Makefile
381	tests/zfs-tests/tests/functional/rename_dirs/Makefile
382	tests/zfs-tests/tests/functional/replacement/Makefile
383	tests/zfs-tests/tests/functional/reservation/Makefile
384	tests/zfs-tests/tests/functional/rootpool/Makefile
385	tests/zfs-tests/tests/functional/rsend/Makefile
386	tests/zfs-tests/tests/functional/scrub_mirror/Makefile
387	tests/zfs-tests/tests/functional/slog/Makefile
388	tests/zfs-tests/tests/functional/snapshot/Makefile
389	tests/zfs-tests/tests/functional/snapused/Makefile
390	tests/zfs-tests/tests/functional/sparse/Makefile
391	tests/zfs-tests/tests/functional/suid/Makefile
392	tests/zfs-tests/tests/functional/threadsappend/Makefile
393	tests/zfs-tests/tests/functional/tmpfile/Makefile
394	tests/zfs-tests/tests/functional/trim/Makefile
395	tests/zfs-tests/tests/functional/truncate/Makefile
396	tests/zfs-tests/tests/functional/upgrade/Makefile
397	tests/zfs-tests/tests/functional/user_namespace/Makefile
398	tests/zfs-tests/tests/functional/userquota/Makefile
399	tests/zfs-tests/tests/functional/vdev_zaps/Makefile
400	tests/zfs-tests/tests/functional/write_dirs/Makefile
401	tests/zfs-tests/tests/functional/xattr/Makefile
402	tests/zfs-tests/tests/functional/zpool_influxdb/Makefile
403	tests/zfs-tests/tests/functional/zvol/Makefile
404	tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/Makefile
405	tests/zfs-tests/tests/functional/zvol/zvol_cli/Makefile
406	tests/zfs-tests/tests/functional/zvol/zvol_misc/Makefile
407	tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile
408	tests/zfs-tests/tests/perf/Makefile
409	tests/zfs-tests/tests/perf/fio/Makefile
410	tests/zfs-tests/tests/perf/regression/Makefile
411	tests/zfs-tests/tests/perf/scripts/Makefile
412	tests/zfs-tests/tests/stress/Makefile
413	udev/Makefile
414	udev/rules.d/Makefile
415	zfs.release
416])
417
418
419AC_OUTPUT
420