xref: /freebsd/sys/contrib/openzfs/configure.ac (revision c1d255d3ffdbe447de3ab875bf4e7d7accc5bfc5)
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	module/Kbuild
175	module/Makefile
176	module/avl/Makefile
177	module/icp/Makefile
178	module/lua/Makefile
179	module/nvpair/Makefile
180	module/os/linux/spl/Makefile
181	module/os/linux/zfs/Makefile
182	module/spl/Makefile
183	module/unicode/Makefile
184	module/zcommon/Makefile
185	module/zfs/Makefile
186	module/zstd/Makefile
187	rpm/Makefile
188	rpm/generic/Makefile
189	rpm/generic/zfs-dkms.spec
190	rpm/generic/zfs-kmod.spec
191	rpm/generic/zfs.spec
192	rpm/redhat/Makefile
193	rpm/redhat/zfs-dkms.spec
194	rpm/redhat/zfs-kmod.spec
195	rpm/redhat/zfs.spec
196	scripts/Makefile
197	tests/Makefile
198	tests/runfiles/Makefile
199	tests/test-runner/Makefile
200	tests/test-runner/bin/Makefile
201	tests/test-runner/include/Makefile
202	tests/test-runner/man/Makefile
203	tests/zfs-tests/Makefile
204	tests/zfs-tests/callbacks/Makefile
205	tests/zfs-tests/cmd/Makefile
206	tests/zfs-tests/cmd/badsend/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/draid/Makefile
211	tests/zfs-tests/cmd/dir_rd_update/Makefile
212	tests/zfs-tests/cmd/file_check/Makefile
213	tests/zfs-tests/cmd/file_trunc/Makefile
214	tests/zfs-tests/cmd/file_write/Makefile
215	tests/zfs-tests/cmd/get_diff/Makefile
216	tests/zfs-tests/cmd/largest_file/Makefile
217	tests/zfs-tests/cmd/libzfs_input_check/Makefile
218	tests/zfs-tests/cmd/mkbusy/Makefile
219	tests/zfs-tests/cmd/mkfile/Makefile
220	tests/zfs-tests/cmd/mkfiles/Makefile
221	tests/zfs-tests/cmd/mktree/Makefile
222	tests/zfs-tests/cmd/mmap_exec/Makefile
223	tests/zfs-tests/cmd/mmap_libaio/Makefile
224	tests/zfs-tests/cmd/mmapwrite/Makefile
225	tests/zfs-tests/cmd/nvlist_to_lua/Makefile
226	tests/zfs-tests/cmd/randfree_file/Makefile
227	tests/zfs-tests/cmd/randwritecomp/Makefile
228	tests/zfs-tests/cmd/readmmap/Makefile
229	tests/zfs-tests/cmd/rename_dir/Makefile
230	tests/zfs-tests/cmd/rm_lnkcnt_zero_file/Makefile
231	tests/zfs-tests/cmd/send_doall/Makefile
232	tests/zfs-tests/cmd/stride_dd/Makefile
233	tests/zfs-tests/cmd/threadsappend/Makefile
234	tests/zfs-tests/cmd/user_ns_exec/Makefile
235	tests/zfs-tests/cmd/xattrtest/Makefile
236	tests/zfs-tests/include/Makefile
237	tests/zfs-tests/tests/Makefile
238	tests/zfs-tests/tests/functional/Makefile
239	tests/zfs-tests/tests/functional/acl/Makefile
240	tests/zfs-tests/tests/functional/acl/off/Makefile
241	tests/zfs-tests/tests/functional/acl/posix/Makefile
242	tests/zfs-tests/tests/functional/acl/posix-sa/Makefile
243	tests/zfs-tests/tests/functional/alloc_class/Makefile
244	tests/zfs-tests/tests/functional/arc/Makefile
245	tests/zfs-tests/tests/functional/atime/Makefile
246	tests/zfs-tests/tests/functional/bootfs/Makefile
247	tests/zfs-tests/tests/functional/btree/Makefile
248	tests/zfs-tests/tests/functional/cache/Makefile
249	tests/zfs-tests/tests/functional/cachefile/Makefile
250	tests/zfs-tests/tests/functional/casenorm/Makefile
251	tests/zfs-tests/tests/functional/channel_program/Makefile
252	tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile
253	tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile
254	tests/zfs-tests/tests/functional/chattr/Makefile
255	tests/zfs-tests/tests/functional/checksum/Makefile
256	tests/zfs-tests/tests/functional/clean_mirror/Makefile
257	tests/zfs-tests/tests/functional/cli_root/Makefile
258	tests/zfs-tests/tests/functional/cli_root/zdb/Makefile
259	tests/zfs-tests/tests/functional/cli_root/zfs/Makefile
260	tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/Makefile
261	tests/zfs-tests/tests/functional/cli_root/zfs_change-key/Makefile
262	tests/zfs-tests/tests/functional/cli_root/zfs_clone/Makefile
263	tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile
264	tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile
265	tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile
266	tests/zfs-tests/tests/functional/cli_root/zfs_diff/Makefile
267	tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile
268	tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/Makefile
269	tests/zfs-tests/tests/functional/cli_root/zfs_inherit/Makefile
270	tests/zfs-tests/tests/functional/cli_root/zfs_jail/Makefile
271	tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile
272	tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile
273	tests/zfs-tests/tests/functional/cli_root/zfs_program/Makefile
274	tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile
275	tests/zfs-tests/tests/functional/cli_root/zfs_property/Makefile
276	tests/zfs-tests/tests/functional/cli_root/zfs_receive/Makefile
277	tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile
278	tests/zfs-tests/tests/functional/cli_root/zfs_reservation/Makefile
279	tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile
280	tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile
281	tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile
282	tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile
283	tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile
284	tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/Makefile
285	tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/Makefile
286	tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile
287	tests/zfs-tests/tests/functional/cli_root/zfs_unshare/Makefile
288	tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile
289	tests/zfs-tests/tests/functional/cli_root/zfs_wait/Makefile
290	tests/zfs-tests/tests/functional/cli_root/zpool/Makefile
291	tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile
292	tests/zfs-tests/tests/functional/cli_root/zpool_attach/Makefile
293	tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile
294	tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile
295	tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile
296	tests/zfs-tests/tests/functional/cli_root/zpool_detach/Makefile
297	tests/zfs-tests/tests/functional/cli_root/zpool_events/Makefile
298	tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile
299	tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile
300	tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile
301	tests/zfs-tests/tests/functional/cli_root/zpool_history/Makefile
302	tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile
303	tests/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/Makefile
304	tests/zfs-tests/tests/functional/cli_root/zpool_initialize/Makefile
305	tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/Makefile
306	tests/zfs-tests/tests/functional/cli_root/zpool_offline/Makefile
307	tests/zfs-tests/tests/functional/cli_root/zpool_online/Makefile
308	tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile
309	tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile
310	tests/zfs-tests/tests/functional/cli_root/zpool_replace/Makefile
311	tests/zfs-tests/tests/functional/cli_root/zpool_resilver/Makefile
312	tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile
313	tests/zfs-tests/tests/functional/cli_root/zpool_set/Makefile
314	tests/zfs-tests/tests/functional/cli_root/zpool_split/Makefile
315	tests/zfs-tests/tests/functional/cli_root/zpool_status/Makefile
316	tests/zfs-tests/tests/functional/cli_root/zpool_sync/Makefile
317	tests/zfs-tests/tests/functional/cli_root/zpool_trim/Makefile
318	tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile
319	tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/Makefile
320	tests/zfs-tests/tests/functional/cli_root/zpool_wait/Makefile
321	tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/Makefile
322	tests/zfs-tests/tests/functional/cli_user/Makefile
323	tests/zfs-tests/tests/functional/cli_user/misc/Makefile
324	tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile
325	tests/zfs-tests/tests/functional/cli_user/zpool_iostat/Makefile
326	tests/zfs-tests/tests/functional/cli_user/zpool_list/Makefile
327	tests/zfs-tests/tests/functional/cli_user/zpool_status/Makefile
328	tests/zfs-tests/tests/functional/compression/Makefile
329	tests/zfs-tests/tests/functional/cp_files/Makefile
330	tests/zfs-tests/tests/functional/crtime/Makefile
331	tests/zfs-tests/tests/functional/ctime/Makefile
332	tests/zfs-tests/tests/functional/deadman/Makefile
333	tests/zfs-tests/tests/functional/delegate/Makefile
334	tests/zfs-tests/tests/functional/devices/Makefile
335	tests/zfs-tests/tests/functional/events/Makefile
336	tests/zfs-tests/tests/functional/exec/Makefile
337	tests/zfs-tests/tests/functional/fallocate/Makefile
338	tests/zfs-tests/tests/functional/fault/Makefile
339	tests/zfs-tests/tests/functional/features/Makefile
340	tests/zfs-tests/tests/functional/features/async_destroy/Makefile
341	tests/zfs-tests/tests/functional/features/large_dnode/Makefile
342	tests/zfs-tests/tests/functional/grow/Makefile
343	tests/zfs-tests/tests/functional/history/Makefile
344	tests/zfs-tests/tests/functional/hkdf/Makefile
345	tests/zfs-tests/tests/functional/inheritance/Makefile
346	tests/zfs-tests/tests/functional/inuse/Makefile
347	tests/zfs-tests/tests/functional/io/Makefile
348	tests/zfs-tests/tests/functional/l2arc/Makefile
349	tests/zfs-tests/tests/functional/large_files/Makefile
350	tests/zfs-tests/tests/functional/largest_pool/Makefile
351	tests/zfs-tests/tests/functional/libzfs/Makefile
352	tests/zfs-tests/tests/functional/limits/Makefile
353	tests/zfs-tests/tests/functional/link_count/Makefile
354	tests/zfs-tests/tests/functional/log_spacemap/Makefile
355	tests/zfs-tests/tests/functional/migration/Makefile
356	tests/zfs-tests/tests/functional/mmap/Makefile
357	tests/zfs-tests/tests/functional/mmp/Makefile
358	tests/zfs-tests/tests/functional/mount/Makefile
359	tests/zfs-tests/tests/functional/mv_files/Makefile
360	tests/zfs-tests/tests/functional/nestedfs/Makefile
361	tests/zfs-tests/tests/functional/no_space/Makefile
362	tests/zfs-tests/tests/functional/nopwrite/Makefile
363	tests/zfs-tests/tests/functional/online_offline/Makefile
364	tests/zfs-tests/tests/functional/pam/Makefile
365	tests/zfs-tests/tests/functional/pool_checkpoint/Makefile
366	tests/zfs-tests/tests/functional/pool_names/Makefile
367	tests/zfs-tests/tests/functional/poolversion/Makefile
368	tests/zfs-tests/tests/functional/privilege/Makefile
369	tests/zfs-tests/tests/functional/procfs/Makefile
370	tests/zfs-tests/tests/functional/projectquota/Makefile
371	tests/zfs-tests/tests/functional/pyzfs/Makefile
372	tests/zfs-tests/tests/functional/quota/Makefile
373	tests/zfs-tests/tests/functional/raidz/Makefile
374	tests/zfs-tests/tests/functional/redacted_send/Makefile
375	tests/zfs-tests/tests/functional/redundancy/Makefile
376	tests/zfs-tests/tests/functional/refquota/Makefile
377	tests/zfs-tests/tests/functional/refreserv/Makefile
378	tests/zfs-tests/tests/functional/removal/Makefile
379	tests/zfs-tests/tests/functional/rename_dirs/Makefile
380	tests/zfs-tests/tests/functional/replacement/Makefile
381	tests/zfs-tests/tests/functional/reservation/Makefile
382	tests/zfs-tests/tests/functional/rootpool/Makefile
383	tests/zfs-tests/tests/functional/rsend/Makefile
384	tests/zfs-tests/tests/functional/scrub_mirror/Makefile
385	tests/zfs-tests/tests/functional/slog/Makefile
386	tests/zfs-tests/tests/functional/snapshot/Makefile
387	tests/zfs-tests/tests/functional/snapused/Makefile
388	tests/zfs-tests/tests/functional/sparse/Makefile
389	tests/zfs-tests/tests/functional/suid/Makefile
390	tests/zfs-tests/tests/functional/threadsappend/Makefile
391	tests/zfs-tests/tests/functional/tmpfile/Makefile
392	tests/zfs-tests/tests/functional/trim/Makefile
393	tests/zfs-tests/tests/functional/truncate/Makefile
394	tests/zfs-tests/tests/functional/upgrade/Makefile
395	tests/zfs-tests/tests/functional/user_namespace/Makefile
396	tests/zfs-tests/tests/functional/userquota/Makefile
397	tests/zfs-tests/tests/functional/vdev_zaps/Makefile
398	tests/zfs-tests/tests/functional/write_dirs/Makefile
399	tests/zfs-tests/tests/functional/xattr/Makefile
400	tests/zfs-tests/tests/functional/zpool_influxdb/Makefile
401	tests/zfs-tests/tests/functional/zvol/Makefile
402	tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/Makefile
403	tests/zfs-tests/tests/functional/zvol/zvol_cli/Makefile
404	tests/zfs-tests/tests/functional/zvol/zvol_misc/Makefile
405	tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile
406	tests/zfs-tests/tests/perf/Makefile
407	tests/zfs-tests/tests/perf/fio/Makefile
408	tests/zfs-tests/tests/perf/regression/Makefile
409	tests/zfs-tests/tests/perf/scripts/Makefile
410	tests/zfs-tests/tests/stress/Makefile
411	udev/Makefile
412	udev/rules.d/Makefile
413	zfs.release
414])
415
416
417AC_OUTPUT
418