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