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