]> git.proxmox.com Git - mirror_zfs.git/blame - configure.ac
ztest: scrub ddt repair
[mirror_zfs.git] / configure.ac
CommitLineData
c9c0d073
BB
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
928046b7
AR
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'))
c9c0d073
BB
35AC_LANG(C)
36ZFS_AC_META
37AC_CONFIG_AUX_DIR([config])
8c392629 38AC_CONFIG_MACRO_DIR([config])
c9c0d073
BB
39AC_CANONICAL_SYSTEM
40AM_MAINTAINER_MODE
5b5a65b0 41m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
0b04990a 42AM_INIT_AUTOMAKE([subdir-objects])
c9c0d073
BB
43AC_CONFIG_HEADERS([zfs_config.h], [
44 (mv zfs_config.h zfs_config.h.tmp &&
6283f55e 45 awk -f ${ac_srcdir}/config/config.awk zfs_config.h.tmp >zfs_config.h &&
c9c0d073
BB
46 rm zfs_config.h.tmp) || exit 1])
47
48AC_PROG_INSTALL
49AC_PROG_CC
50AC_PROG_LIBTOOL
51AM_PROG_AS
3c67d83a 52AM_PROG_CC_C_O
acf04442 53AX_CODE_COVERAGE
1dfde3d9 54_AM_PROG_TAR(pax)
c9c0d073
BB
55
56ZFS_AC_LICENSE
57ZFS_AC_PACKAGE
58ZFS_AC_CONFIG
59ZFS_AC_DEBUG
0d3980ac 60ZFS_AC_DEBUGINFO
93ce2b4c
BB
61ZFS_AC_DEBUG_KMEM
62ZFS_AC_DEBUG_KMEM_TRACKING
c9c0d073 63
6bb24f4d 64AC_CONFIG_FILES([
c9c0d073 65 Makefile
12d06bac
KF
66 udev/Makefile
67 udev/rules.d/Makefile
c9c0d073 68 etc/Makefile
01c0e61d
BB
69 etc/init.d/Makefile
70 etc/zfs/Makefile
881f45c6
RE
71 etc/systemd/Makefile
72 etc/systemd/system/Makefile
55d80e65 73 etc/systemd/system-generators/Makefile
099700d9 74 etc/sudoers.d/Makefile
881f45c6 75 etc/modules-load.d/Makefile
c9c0d073 76 man/Makefile
cf2129e6 77 man/man1/Makefile
821b6834 78 man/man5/Makefile
c9c0d073
BB
79 man/man8/Makefile
80 lib/Makefile
a26baf28
BB
81 lib/libspl/Makefile
82 lib/libspl/asm-generic/Makefile
83 lib/libspl/asm-i386/Makefile
84 lib/libspl/asm-x86_64/Makefile
85 lib/libspl/include/Makefile
6283f55e
BB
86 lib/libspl/include/ia32/Makefile
87 lib/libspl/include/ia32/sys/Makefile
88 lib/libspl/include/rpc/Makefile
89 lib/libspl/include/sys/Makefile
6283f55e
BB
90 lib/libspl/include/sys/dktp/Makefile
91 lib/libspl/include/util/Makefile
c9c0d073
BB
92 lib/libavl/Makefile
93 lib/libefi/Makefile
0b04990a 94 lib/libicp/Makefile
c9c0d073 95 lib/libnvpair/Makefile
e89f1295 96 lib/libzutil/Makefile
46364cb2 97 lib/libtpool/Makefile
c9c0d073
BB
98 lib/libunicode/Makefile
99 lib/libuutil/Makefile
100 lib/libzpool/Makefile
c3f8dc2a
TF
101 lib/libzfs/libzfs.pc
102 lib/libzfs/libzfs_core.pc
c9c0d073 103 lib/libzfs/Makefile
6f1ffb06 104 lib/libzfs_core/Makefile
46e18b3f 105 lib/libshare/Makefile
c9c0d073
BB
106 cmd/Makefile
107 cmd/zdb/Makefile
9ae529ec 108 cmd/zhack/Makefile
c9c0d073
BB
109 cmd/zfs/Makefile
110 cmd/zinject/Makefile
111 cmd/zpool/Makefile
b79fc3fe 112 cmd/zstreamdump/Makefile
c9c0d073 113 cmd/ztest/Makefile
d53368f6 114 cmd/mount_zfs/Makefile
a1e147ee 115 cmd/fsck_zfs/Makefile
4c0d8e50 116 cmd/zvol_id/Makefile
821b6834 117 cmd/vdev_id/Makefile
fb02fabf 118 cmd/arcstat/Makefile
d738d34d 119 cmd/dbufstat/Makefile
02bd676d 120 cmd/arc_summary/Makefile
9e246ac3 121 cmd/zed/Makefile
ab9f4b0b 122 cmd/raidz_test/Makefile
b9373170 123 cmd/zgenhostid/Makefile
1ffe90c5
TF
124 contrib/Makefile
125 contrib/bash_completion.d/Makefile
cc492505 126 contrib/dracut/Makefile
a5a37022 127 contrib/dracut/02zfsexpandknowledge/Makefile
cc492505 128 contrib/dracut/90zfs/Makefile
2cac7f5f 129 contrib/initramfs/Makefile
cb3b0419 130 contrib/initramfs/hooks/Makefile
131 contrib/initramfs/scripts/Makefile
132 contrib/initramfs/scripts/local-top/Makefile
85ce3f4f 133 contrib/pyzfs/Makefile
9ef798b7 134 contrib/pyzfs/setup.py
c9c0d073
BB
135 module/Makefile
136 module/avl/Makefile
137 module/nvpair/Makefile
138 module/unicode/Makefile
139 module/zcommon/Makefile
140 module/zfs/Makefile
d99a0153 141 module/lua/Makefile
0b04990a 142 module/icp/Makefile
93ce2b4c 143 module/spl/Makefile
6283f55e 144 include/Makefile
8299a1f4 145 include/linux/Makefile
93ce2b4c
BB
146 include/spl/Makefile
147 include/spl/rpc/Makefile
148 include/spl/sys/Makefile
6283f55e
BB
149 include/sys/Makefile
150 include/sys/fs/Makefile
151 include/sys/fm/Makefile
152 include/sys/fm/fs/Makefile
0b04990a 153 include/sys/crypto/Makefile
fb390aaf 154 include/sys/sysevent/Makefile
d99a0153 155 include/sys/lua/Makefile
c9c0d073 156 scripts/Makefile
6bb24f4d
BB
157 tests/Makefile
158 tests/test-runner/Makefile
c8f9061f 159 tests/test-runner/bin/Makefile
6bb24f4d
BB
160 tests/test-runner/include/Makefile
161 tests/test-runner/man/Makefile
162 tests/runfiles/Makefile
163 tests/zfs-tests/Makefile
00481e7d 164 tests/zfs-tests/callbacks/Makefile
6bb24f4d
BB
165 tests/zfs-tests/cmd/Makefile
166 tests/zfs-tests/cmd/chg_usr_exec/Makefile
0e85048f 167 tests/zfs-tests/cmd/user_ns_exec/Makefile
6bb24f4d
BB
168 tests/zfs-tests/cmd/devname2devid/Makefile
169 tests/zfs-tests/cmd/dir_rd_update/Makefile
170 tests/zfs-tests/cmd/file_check/Makefile
171 tests/zfs-tests/cmd/file_trunc/Makefile
172 tests/zfs-tests/cmd/file_write/Makefile
173 tests/zfs-tests/cmd/largest_file/Makefile
b83a0e2d 174 tests/zfs-tests/cmd/libzfs_input_check/Makefile
6bb24f4d
BB
175 tests/zfs-tests/cmd/mkbusy/Makefile
176 tests/zfs-tests/cmd/mkfile/Makefile
177 tests/zfs-tests/cmd/mkfiles/Makefile
178 tests/zfs-tests/cmd/mktree/Makefile
179 tests/zfs-tests/cmd/mmap_exec/Makefile
b2ab468d 180 tests/zfs-tests/cmd/mmap_libaio/Makefile
6bb24f4d 181 tests/zfs-tests/cmd/mmapwrite/Makefile
d99a0153 182 tests/zfs-tests/cmd/nvlist_to_lua/Makefile
6bb24f4d 183 tests/zfs-tests/cmd/randfree_file/Makefile
d2734cce 184 tests/zfs-tests/cmd/randwritecomp/Makefile
6bb24f4d
BB
185 tests/zfs-tests/cmd/readmmap/Makefile
186 tests/zfs-tests/cmd/rename_dir/Makefile
187 tests/zfs-tests/cmd/rm_lnkcnt_zero_file/Makefile
188 tests/zfs-tests/cmd/threadsappend/Makefile
189 tests/zfs-tests/cmd/xattrtest/Makefile
190 tests/zfs-tests/include/Makefile
6bb24f4d
BB
191 tests/zfs-tests/tests/Makefile
192 tests/zfs-tests/tests/functional/Makefile
193 tests/zfs-tests/tests/functional/acl/Makefile
194 tests/zfs-tests/tests/functional/acl/posix/Makefile
5e021f56 195 tests/zfs-tests/tests/functional/arc/Makefile
6bb24f4d
BB
196 tests/zfs-tests/tests/functional/atime/Makefile
197 tests/zfs-tests/tests/functional/bootfs/Makefile
198 tests/zfs-tests/tests/functional/cache/Makefile
199 tests/zfs-tests/tests/functional/cachefile/Makefile
200 tests/zfs-tests/tests/functional/casenorm/Makefile
3c67d83a 201 tests/zfs-tests/tests/functional/checksum/Makefile
d99a0153
CW
202 tests/zfs-tests/tests/functional/channel_program/Makefile
203 tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile
204 tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile
b4d8e2be 205 tests/zfs-tests/tests/functional/chattr/Makefile
6bb24f4d
BB
206 tests/zfs-tests/tests/functional/clean_mirror/Makefile
207 tests/zfs-tests/tests/functional/cli_root/Makefile
208 tests/zfs-tests/tests/functional/cli_root/zdb/Makefile
3fd3e56c 209 tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/Makefile
b5256303 210 tests/zfs-tests/tests/functional/cli_root/zfs_change-key/Makefile
6bb24f4d
BB
211 tests/zfs-tests/tests/functional/cli_root/zfs_clone/Makefile
212 tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile
213 tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile
214 tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile
b59b2297 215 tests/zfs-tests/tests/functional/cli_root/zfs_diff/Makefile
6bb24f4d
BB
216 tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile
217 tests/zfs-tests/tests/functional/cli_root/zfs_inherit/Makefile
b5256303 218 tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile
6bb24f4d
BB
219 tests/zfs-tests/tests/functional/cli_root/zfs/Makefile
220 tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile
272b5d73 221 tests/zfs-tests/tests/functional/cli_root/zfs_program/Makefile
6bb24f4d
BB
222 tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile
223 tests/zfs-tests/tests/functional/cli_root/zfs_property/Makefile
224 tests/zfs-tests/tests/functional/cli_root/zfs_receive/Makefile
b4555c77 225 tests/zfs-tests/tests/functional/cli_root/zfs_remap/Makefile
6bb24f4d
BB
226 tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile
227 tests/zfs-tests/tests/functional/cli_root/zfs_reservation/Makefile
228 tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile
229 tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile
230 tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile
231 tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile
232 tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile
e8bcb693 233 tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/Makefile
b5256303 234 tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/Makefile
6bb24f4d
BB
235 tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile
236 tests/zfs-tests/tests/functional/cli_root/zfs_unshare/Makefile
237 tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile
238 tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile
239 tests/zfs-tests/tests/functional/cli_root/zpool_attach/Makefile
240 tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile
241 tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile
242 tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile
243 tests/zfs-tests/tests/functional/cli_root/zpool_detach/Makefile
88f9c939 244 tests/zfs-tests/tests/functional/cli_root/zpool_events/Makefile
6bb24f4d
BB
245 tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile
246 tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile
247 tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile
248 tests/zfs-tests/tests/functional/cli_root/zpool_history/Makefile
249 tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile
1dfde3d9 250 tests/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/Makefile
619f0976 251 tests/zfs-tests/tests/functional/cli_root/zpool_initialize/Makefile
dbb38f66 252 tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/Makefile
6bb24f4d
BB
253 tests/zfs-tests/tests/functional/cli_root/zpool/Makefile
254 tests/zfs-tests/tests/functional/cli_root/zpool_offline/Makefile
255 tests/zfs-tests/tests/functional/cli_root/zpool_online/Makefile
256 tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile
d3f2cd7e 257 tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile
80a91e74 258 tests/zfs-tests/tests/functional/cli_root/zpool_resilver/Makefile
6bb24f4d
BB
259 tests/zfs-tests/tests/functional/cli_root/zpool_replace/Makefile
260 tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile
261 tests/zfs-tests/tests/functional/cli_root/zpool_set/Makefile
7fab6361 262 tests/zfs-tests/tests/functional/cli_root/zpool_split/Makefile
6bb24f4d 263 tests/zfs-tests/tests/functional/cli_root/zpool_status/Makefile
bec1067d 264 tests/zfs-tests/tests/functional/cli_root/zpool_sync/Makefile
6bb24f4d 265 tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile
1dfde3d9 266 tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/Makefile
6bb24f4d
BB
267 tests/zfs-tests/tests/functional/cli_user/Makefile
268 tests/zfs-tests/tests/functional/cli_user/misc/Makefile
269 tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile
270 tests/zfs-tests/tests/functional/cli_user/zpool_iostat/Makefile
271 tests/zfs-tests/tests/functional/cli_user/zpool_list/Makefile
272 tests/zfs-tests/tests/functional/compression/Makefile
599b8648 273 tests/zfs-tests/tests/functional/cp_files/Makefile
6bb24f4d 274 tests/zfs-tests/tests/functional/ctime/Makefile
8fb1ede1 275 tests/zfs-tests/tests/functional/deadman/Makefile
6bb24f4d
BB
276 tests/zfs-tests/tests/functional/delegate/Makefile
277 tests/zfs-tests/tests/functional/devices/Makefile
3f03fc8d 278 tests/zfs-tests/tests/functional/events/Makefile
6bb24f4d 279 tests/zfs-tests/tests/functional/exec/Makefile
ec0e24c2 280 tests/zfs-tests/tests/functional/fault/Makefile
6bb24f4d 281 tests/zfs-tests/tests/functional/features/async_destroy/Makefile
50c957f7 282 tests/zfs-tests/tests/functional/features/large_dnode/Makefile
6bb24f4d 283 tests/zfs-tests/tests/functional/features/Makefile
e4a3297a 284 tests/zfs-tests/tests/functional/grow/Makefile
6bb24f4d 285 tests/zfs-tests/tests/functional/history/Makefile
4807c0ba 286 tests/zfs-tests/tests/functional/hkdf/Makefile
6bb24f4d
BB
287 tests/zfs-tests/tests/functional/inheritance/Makefile
288 tests/zfs-tests/tests/functional/inuse/Makefile
a584ef26 289 tests/zfs-tests/tests/functional/io/Makefile
6bb24f4d
BB
290 tests/zfs-tests/tests/functional/large_files/Makefile
291 tests/zfs-tests/tests/functional/largest_pool/Makefile
292 tests/zfs-tests/tests/functional/link_count/Makefile
449705db 293 tests/zfs-tests/tests/functional/libzfs/Makefile
0f5f2386 294 tests/zfs-tests/tests/functional/limits/Makefile
6bb24f4d
BB
295 tests/zfs-tests/tests/functional/migration/Makefile
296 tests/zfs-tests/tests/functional/mmap/Makefile
379ca9cf 297 tests/zfs-tests/tests/functional/mmp/Makefile
6bb24f4d
BB
298 tests/zfs-tests/tests/functional/mount/Makefile
299 tests/zfs-tests/tests/functional/mv_files/Makefile
300 tests/zfs-tests/tests/functional/nestedfs/Makefile
301 tests/zfs-tests/tests/functional/no_space/Makefile
302 tests/zfs-tests/tests/functional/nopwrite/Makefile
303 tests/zfs-tests/tests/functional/online_offline/Makefile
304 tests/zfs-tests/tests/functional/pool_names/Makefile
d2734cce 305 tests/zfs-tests/tests/functional/pool_checkpoint/Makefile
6bb24f4d
BB
306 tests/zfs-tests/tests/functional/poolversion/Makefile
307 tests/zfs-tests/tests/functional/privilege/Makefile
d1261452 308 tests/zfs-tests/tests/functional/procfs/Makefile
9c5167d1 309 tests/zfs-tests/tests/functional/projectquota/Makefile
85ce3f4f 310 tests/zfs-tests/tests/functional/pyzfs/Makefile
6bb24f4d 311 tests/zfs-tests/tests/functional/quota/Makefile
ab9f4b0b 312 tests/zfs-tests/tests/functional/raidz/Makefile
6bb24f4d
BB
313 tests/zfs-tests/tests/functional/redundancy/Makefile
314 tests/zfs-tests/tests/functional/refquota/Makefile
315 tests/zfs-tests/tests/functional/refreserv/Makefile
a1d477c2 316 tests/zfs-tests/tests/functional/removal/Makefile
6bb24f4d
BB
317 tests/zfs-tests/tests/functional/rename_dirs/Makefile
318 tests/zfs-tests/tests/functional/replacement/Makefile
319 tests/zfs-tests/tests/functional/reservation/Makefile
320 tests/zfs-tests/tests/functional/rootpool/Makefile
321 tests/zfs-tests/tests/functional/rsend/Makefile
322 tests/zfs-tests/tests/functional/scrub_mirror/Makefile
323 tests/zfs-tests/tests/functional/slog/Makefile
324 tests/zfs-tests/tests/functional/snapshot/Makefile
325 tests/zfs-tests/tests/functional/snapused/Makefile
326 tests/zfs-tests/tests/functional/sparse/Makefile
cc99f275 327 tests/zfs-tests/tests/functional/alloc_class/Makefile
6bb24f4d 328 tests/zfs-tests/tests/functional/threadsappend/Makefile
ace1eae8 329 tests/zfs-tests/tests/functional/tmpfile/Makefile
6bb24f4d 330 tests/zfs-tests/tests/functional/truncate/Makefile
0e85048f 331 tests/zfs-tests/tests/functional/user_namespace/Makefile
6bb24f4d 332 tests/zfs-tests/tests/functional/userquota/Makefile
1de321e6 333 tests/zfs-tests/tests/functional/upgrade/Makefile
e0ab3ab5 334 tests/zfs-tests/tests/functional/vdev_zaps/Makefile
6bb24f4d
BB
335 tests/zfs-tests/tests/functional/write_dirs/Makefile
336 tests/zfs-tests/tests/functional/xattr/Makefile
337 tests/zfs-tests/tests/functional/zvol/Makefile
338 tests/zfs-tests/tests/functional/zvol/zvol_cli/Makefile
339 tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/Makefile
340 tests/zfs-tests/tests/functional/zvol/zvol_misc/Makefile
341 tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile
679d73e9
JWK
342 tests/zfs-tests/tests/perf/Makefile
343 tests/zfs-tests/tests/perf/fio/Makefile
344 tests/zfs-tests/tests/perf/regression/Makefile
345 tests/zfs-tests/tests/perf/scripts/Makefile
6bb24f4d 346 tests/zfs-tests/tests/stress/Makefile
f3757573 347 rpm/Makefile
ee2ca1db
BB
348 rpm/redhat/Makefile
349 rpm/redhat/zfs.spec
350 rpm/redhat/zfs-kmod.spec
351 rpm/redhat/zfs-dkms.spec
f3757573
BB
352 rpm/generic/Makefile
353 rpm/generic/zfs.spec
354 rpm/generic/zfs-kmod.spec
355 rpm/generic/zfs-dkms.spec
fb7eb3e3 356 zfs.release
c9c0d073
BB
357])
358
6078881a 359
c9c0d073 360AC_OUTPUT