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