]> git.proxmox.com Git - mirror_zfs.git/blob - configure.ac
autoconf: use include directives instead of recursing down tests (mostly)
[mirror_zfs.git] / configure.ac
1 /*
2 * This file is part of OpenZFS.
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(awk '/^Name:/ {printf $2}' META),
34 m4_esyscmd(awk '/^Version:/ {printf $2}' META))
35 AC_LANG(C)
36 ZFS_AC_META
37 AC_CONFIG_AUX_DIR([config])
38 AC_CONFIG_MACRO_DIR([config])
39 AC_CANONICAL_TARGET
40 AM_MAINTAINER_MODE
41 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
42 AM_INIT_AUTOMAKE([subdir-objects foreign])
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 LT_INIT
49 AC_PROG_INSTALL
50 AC_PROG_CC
51 AC_PROG_LN_S
52 PKG_PROG_PKG_CONFIG
53 AM_PROG_AS
54 AM_PROG_CC_C_O
55 AX_CODE_COVERAGE
56 _AM_PROG_TAR(pax)
57
58 ZFS_AC_LICENSE
59 ZFS_AC_CONFIG
60 ZFS_AC_PACKAGE
61 ZFS_AC_DEBUG
62 ZFS_AC_DEBUGINFO
63 ZFS_AC_DEBUG_KMEM
64 ZFS_AC_DEBUG_KMEM_TRACKING
65 ZFS_AC_DEBUG_INVARIANTS
66
67 AC_CONFIG_FILES([
68 Makefile
69 include/Makefile
70 lib/libzfs/libzfs.pc
71 lib/libzfsbootenv/libzfsbootenv.pc
72 lib/libzfs_core/libzfs_core.pc
73 module/Kbuild
74 module/Makefile
75 rpm/generic/zfs-dkms.spec
76 rpm/generic/zfs-kmod.spec
77 rpm/generic/zfs.spec
78 rpm/redhat/zfs-dkms.spec
79 rpm/redhat/zfs-kmod.spec
80 rpm/redhat/zfs.spec
81 tests/zfs-tests/tests/Makefile
82 tests/zfs-tests/tests/functional/Makefile
83 tests/zfs-tests/tests/functional/acl/Makefile
84 tests/zfs-tests/tests/functional/acl/off/Makefile
85 tests/zfs-tests/tests/functional/acl/posix/Makefile
86 tests/zfs-tests/tests/functional/acl/posix-sa/Makefile
87 tests/zfs-tests/tests/functional/alloc_class/Makefile
88 tests/zfs-tests/tests/functional/arc/Makefile
89 tests/zfs-tests/tests/functional/atime/Makefile
90 tests/zfs-tests/tests/functional/bootfs/Makefile
91 tests/zfs-tests/tests/functional/btree/Makefile
92 tests/zfs-tests/tests/functional/cache/Makefile
93 tests/zfs-tests/tests/functional/cachefile/Makefile
94 tests/zfs-tests/tests/functional/casenorm/Makefile
95 tests/zfs-tests/tests/functional/channel_program/Makefile
96 tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile
97 tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile
98 tests/zfs-tests/tests/functional/chattr/Makefile
99 tests/zfs-tests/tests/functional/checksum/Makefile
100 tests/zfs-tests/tests/functional/clean_mirror/Makefile
101 tests/zfs-tests/tests/functional/cli_root/Makefile
102 tests/zfs-tests/tests/functional/cli_root/zdb/Makefile
103 tests/zfs-tests/tests/functional/cli_root/zfs/Makefile
104 tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/Makefile
105 tests/zfs-tests/tests/functional/cli_root/zfs_change-key/Makefile
106 tests/zfs-tests/tests/functional/cli_root/zfs_clone/Makefile
107 tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile
108 tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile
109 tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile
110 tests/zfs-tests/tests/functional/cli_root/zfs_diff/Makefile
111 tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile
112 tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/Makefile
113 tests/zfs-tests/tests/functional/cli_root/zfs_inherit/Makefile
114 tests/zfs-tests/tests/functional/cli_root/zfs_jail/Makefile
115 tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile
116 tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile
117 tests/zfs-tests/tests/functional/cli_root/zfs_program/Makefile
118 tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile
119 tests/zfs-tests/tests/functional/cli_root/zfs_property/Makefile
120 tests/zfs-tests/tests/functional/cli_root/zfs_receive/Makefile
121 tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile
122 tests/zfs-tests/tests/functional/cli_root/zfs_reservation/Makefile
123 tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile
124 tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile
125 tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile
126 tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile
127 tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile
128 tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/Makefile
129 tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/Makefile
130 tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile
131 tests/zfs-tests/tests/functional/cli_root/zfs_unshare/Makefile
132 tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile
133 tests/zfs-tests/tests/functional/cli_root/zfs_wait/Makefile
134 tests/zfs-tests/tests/functional/cli_root/zhack/Makefile
135 tests/zfs-tests/tests/functional/cli_root/zpool/Makefile
136 tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile
137 tests/zfs-tests/tests/functional/cli_root/zpool_attach/Makefile
138 tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile
139 tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile
140 tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile
141 tests/zfs-tests/tests/functional/cli_root/zpool_detach/Makefile
142 tests/zfs-tests/tests/functional/cli_root/zpool_events/Makefile
143 tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile
144 tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile
145 tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile
146 tests/zfs-tests/tests/functional/cli_root/zpool_history/Makefile
147 tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile
148 tests/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/Makefile
149 tests/zfs-tests/tests/functional/cli_root/zpool_initialize/Makefile
150 tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/Makefile
151 tests/zfs-tests/tests/functional/cli_root/zpool_offline/Makefile
152 tests/zfs-tests/tests/functional/cli_root/zpool_online/Makefile
153 tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile
154 tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile
155 tests/zfs-tests/tests/functional/cli_root/zpool_replace/Makefile
156 tests/zfs-tests/tests/functional/cli_root/zpool_resilver/Makefile
157 tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile
158 tests/zfs-tests/tests/functional/cli_root/zpool_set/Makefile
159 tests/zfs-tests/tests/functional/cli_root/zpool_split/Makefile
160 tests/zfs-tests/tests/functional/cli_root/zpool_status/Makefile
161 tests/zfs-tests/tests/functional/cli_root/zpool_sync/Makefile
162 tests/zfs-tests/tests/functional/cli_root/zpool_trim/Makefile
163 tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile
164 tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/Makefile
165 tests/zfs-tests/tests/functional/cli_root/zpool_wait/Makefile
166 tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/Makefile
167 tests/zfs-tests/tests/functional/cli_user/Makefile
168 tests/zfs-tests/tests/functional/cli_user/misc/Makefile
169 tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile
170 tests/zfs-tests/tests/functional/cli_user/zpool_iostat/Makefile
171 tests/zfs-tests/tests/functional/cli_user/zpool_list/Makefile
172 tests/zfs-tests/tests/functional/cli_user/zpool_status/Makefile
173 tests/zfs-tests/tests/functional/compression/Makefile
174 tests/zfs-tests/tests/functional/cp_files/Makefile
175 tests/zfs-tests/tests/functional/crtime/Makefile
176 tests/zfs-tests/tests/functional/ctime/Makefile
177 tests/zfs-tests/tests/functional/deadman/Makefile
178 tests/zfs-tests/tests/functional/delegate/Makefile
179 tests/zfs-tests/tests/functional/devices/Makefile
180 tests/zfs-tests/tests/functional/dos_attributes/Makefile
181 tests/zfs-tests/tests/functional/events/Makefile
182 tests/zfs-tests/tests/functional/exec/Makefile
183 tests/zfs-tests/tests/functional/fallocate/Makefile
184 tests/zfs-tests/tests/functional/fault/Makefile
185 tests/zfs-tests/tests/functional/features/Makefile
186 tests/zfs-tests/tests/functional/features/async_destroy/Makefile
187 tests/zfs-tests/tests/functional/features/large_dnode/Makefile
188 tests/zfs-tests/tests/functional/grow/Makefile
189 tests/zfs-tests/tests/functional/history/Makefile
190 tests/zfs-tests/tests/functional/inheritance/Makefile
191 tests/zfs-tests/tests/functional/inuse/Makefile
192 tests/zfs-tests/tests/functional/io/Makefile
193 tests/zfs-tests/tests/functional/l2arc/Makefile
194 tests/zfs-tests/tests/functional/large_files/Makefile
195 tests/zfs-tests/tests/functional/largest_pool/Makefile
196 tests/zfs-tests/tests/functional/libzfs/Makefile
197 tests/zfs-tests/tests/functional/limits/Makefile
198 tests/zfs-tests/tests/functional/link_count/Makefile
199 tests/zfs-tests/tests/functional/log_spacemap/Makefile
200 tests/zfs-tests/tests/functional/migration/Makefile
201 tests/zfs-tests/tests/functional/mmap/Makefile
202 tests/zfs-tests/tests/functional/mmp/Makefile
203 tests/zfs-tests/tests/functional/mount/Makefile
204 tests/zfs-tests/tests/functional/mv_files/Makefile
205 tests/zfs-tests/tests/functional/nestedfs/Makefile
206 tests/zfs-tests/tests/functional/no_space/Makefile
207 tests/zfs-tests/tests/functional/nopwrite/Makefile
208 tests/zfs-tests/tests/functional/online_offline/Makefile
209 tests/zfs-tests/tests/functional/pam/Makefile
210 tests/zfs-tests/tests/functional/pool_checkpoint/Makefile
211 tests/zfs-tests/tests/functional/pool_names/Makefile
212 tests/zfs-tests/tests/functional/poolversion/Makefile
213 tests/zfs-tests/tests/functional/privilege/Makefile
214 tests/zfs-tests/tests/functional/procfs/Makefile
215 tests/zfs-tests/tests/functional/projectquota/Makefile
216 tests/zfs-tests/tests/functional/pyzfs/Makefile
217 tests/zfs-tests/tests/functional/quota/Makefile
218 tests/zfs-tests/tests/functional/raidz/Makefile
219 tests/zfs-tests/tests/functional/redacted_send/Makefile
220 tests/zfs-tests/tests/functional/redundancy/Makefile
221 tests/zfs-tests/tests/functional/refquota/Makefile
222 tests/zfs-tests/tests/functional/refreserv/Makefile
223 tests/zfs-tests/tests/functional/removal/Makefile
224 tests/zfs-tests/tests/functional/rename_dirs/Makefile
225 tests/zfs-tests/tests/functional/replacement/Makefile
226 tests/zfs-tests/tests/functional/reservation/Makefile
227 tests/zfs-tests/tests/functional/rootpool/Makefile
228 tests/zfs-tests/tests/functional/rsend/Makefile
229 tests/zfs-tests/tests/functional/scrub_mirror/Makefile
230 tests/zfs-tests/tests/functional/simd/Makefile
231 tests/zfs-tests/tests/functional/slog/Makefile
232 tests/zfs-tests/tests/functional/snapshot/Makefile
233 tests/zfs-tests/tests/functional/snapused/Makefile
234 tests/zfs-tests/tests/functional/sparse/Makefile
235 tests/zfs-tests/tests/functional/stat/Makefile
236 tests/zfs-tests/tests/functional/suid/Makefile
237 tests/zfs-tests/tests/functional/threadsappend/Makefile
238 tests/zfs-tests/tests/functional/tmpfile/Makefile
239 tests/zfs-tests/tests/functional/trim/Makefile
240 tests/zfs-tests/tests/functional/truncate/Makefile
241 tests/zfs-tests/tests/functional/upgrade/Makefile
242 tests/zfs-tests/tests/functional/user_namespace/Makefile
243 tests/zfs-tests/tests/functional/userquota/Makefile
244 tests/zfs-tests/tests/functional/vdev_zaps/Makefile
245 tests/zfs-tests/tests/functional/write_dirs/Makefile
246 tests/zfs-tests/tests/functional/xattr/Makefile
247 tests/zfs-tests/tests/functional/zpool_influxdb/Makefile
248 tests/zfs-tests/tests/functional/zvol/Makefile
249 tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/Makefile
250 tests/zfs-tests/tests/functional/zvol/zvol_cli/Makefile
251 tests/zfs-tests/tests/functional/zvol/zvol_misc/Makefile
252 tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile
253 tests/zfs-tests/tests/perf/Makefile
254 tests/zfs-tests/tests/perf/fio/Makefile
255 tests/zfs-tests/tests/perf/regression/Makefile
256 tests/zfs-tests/tests/perf/scripts/Makefile
257 zfs.release
258 ])
259
260
261 AC_OUTPUT