]> git.proxmox.com Git - mirror_zfs-debian.git/blob - configure.ac
Merge branch 'upstream'
[mirror_zfs-debian.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
34 AC_LANG(C)
35 ZFS_AC_META
36 AC_CONFIG_AUX_DIR([config])
37 AC_CANONICAL_SYSTEM
38 AM_MAINTAINER_MODE
39 AM_SILENT_RULES
40 AM_INIT_AUTOMAKE([$ZFS_META_NAME], [$ZFS_META_VERSION])
41 AC_CONFIG_HEADERS([zfs_config.h], [
42 (mv zfs_config.h zfs_config.h.tmp &&
43 awk -f ${ac_srcdir}/config/config.awk zfs_config.h.tmp >zfs_config.h &&
44 rm zfs_config.h.tmp) || exit 1])
45
46 AC_PROG_INSTALL
47 AC_PROG_CC
48 AC_PROG_LIBTOOL
49 AM_PROG_AS
50
51 ZFS_AC_LICENSE
52 ZFS_AC_PACKAGE
53 ZFS_AC_CONFIG
54 ZFS_AC_DEBUG
55
56 AC_CONFIG_FILES([
57 Makefile
58 dracut/Makefile
59 dracut/90zfs/Makefile
60 etc/Makefile
61 etc/udev/Makefile
62 etc/udev/rules.d/Makefile
63 etc/init.d/Makefile
64 etc/zfs/Makefile
65 man/Makefile
66 man/man8/Makefile
67 lib/Makefile
68 lib/libspl/Makefile
69 lib/libspl/asm-generic/Makefile
70 lib/libspl/asm-i386/Makefile
71 lib/libspl/asm-x86_64/Makefile
72 lib/libspl/include/Makefile
73 lib/libspl/include/ia32/Makefile
74 lib/libspl/include/ia32/sys/Makefile
75 lib/libspl/include/rpc/Makefile
76 lib/libspl/include/sys/Makefile
77 lib/libspl/include/sys/sysevent/Makefile
78 lib/libspl/include/sys/dktp/Makefile
79 lib/libspl/include/util/Makefile
80 lib/libavl/Makefile
81 lib/libefi/Makefile
82 lib/libnvpair/Makefile
83 lib/libunicode/Makefile
84 lib/libuutil/Makefile
85 lib/libzpool/Makefile
86 lib/libzfs/Makefile
87 cmd/Makefile
88 cmd/zdb/Makefile
89 cmd/zfs/Makefile
90 cmd/zinject/Makefile
91 cmd/zpool/Makefile
92 cmd/ztest/Makefile
93 cmd/zpios/Makefile
94 cmd/mount_zfs/Makefile
95 cmd/zpool_layout/Makefile
96 cmd/zvol_id/Makefile
97 cmd/zpool_id/Makefile
98 module/Makefile
99 module/avl/Makefile
100 module/nvpair/Makefile
101 module/unicode/Makefile
102 module/zcommon/Makefile
103 module/zfs/Makefile
104 module/zpios/Makefile
105 include/Makefile
106 include/linux/Makefile
107 include/sys/Makefile
108 include/sys/fs/Makefile
109 include/sys/fm/Makefile
110 include/sys/fm/fs/Makefile
111 scripts/Makefile
112 scripts/zpios-profile/Makefile
113 scripts/zpios-test/Makefile
114 scripts/zpool-config/Makefile
115 scripts/zpool-layout/Makefile
116 scripts/common.sh
117 zfs.spec
118 zfs-modules.spec
119 zfs-script-config.sh
120 ])
121
122 AC_OUTPUT