]> granicus.if.org Git - zfs/blob - configure.ac
Add systemd unit files for ZFS startup
[zfs] / 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_CONFIG_MACRO_DIR([config])
38 AC_CANONICAL_SYSTEM
39 AM_MAINTAINER_MODE
40 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
41 AM_INIT_AUTOMAKE([$ZFS_META_NAME], [$ZFS_META_VERSION])
42 AC_CONFIG_HEADERS([zfs_config.h], [
43         (mv zfs_config.h zfs_config.h.tmp &&
44         awk -f ${ac_srcdir}/config/config.awk zfs_config.h.tmp >zfs_config.h &&
45         rm zfs_config.h.tmp) || exit 1])
46
47 AC_PROG_INSTALL
48 AC_PROG_CC
49 AC_PROG_LIBTOOL
50 AM_PROG_AS
51
52 ZFS_AC_LICENSE
53 ZFS_AC_PACKAGE
54 ZFS_AC_CONFIG
55 ZFS_AC_DEBUG
56 ZFS_AC_DEBUG_DMU_TX
57
58 AC_CONFIG_FILES([ 
59         Makefile
60         dracut/Makefile
61         dracut/90zfs/Makefile
62         udev/Makefile
63         udev/rules.d/Makefile
64         etc/Makefile
65         etc/init.d/Makefile
66         etc/zfs/Makefile
67         etc/systemd/Makefile
68         etc/systemd/system/Makefile
69         etc/modules-load.d/Makefile
70         man/Makefile
71         man/man1/Makefile
72         man/man5/Makefile
73         man/man8/Makefile
74         lib/Makefile
75         lib/libspl/Makefile
76         lib/libspl/asm-generic/Makefile
77         lib/libspl/asm-i386/Makefile
78         lib/libspl/asm-x86_64/Makefile
79         lib/libspl/include/Makefile
80         lib/libspl/include/ia32/Makefile
81         lib/libspl/include/ia32/sys/Makefile
82         lib/libspl/include/rpc/Makefile
83         lib/libspl/include/sys/Makefile
84         lib/libspl/include/sys/sysevent/Makefile
85         lib/libspl/include/sys/dktp/Makefile
86         lib/libspl/include/util/Makefile
87         lib/libavl/Makefile
88         lib/libefi/Makefile
89         lib/libnvpair/Makefile
90         lib/libunicode/Makefile
91         lib/libuutil/Makefile
92         lib/libzpool/Makefile
93         lib/libzfs/Makefile
94         lib/libzfs_core/Makefile
95         lib/libshare/Makefile
96         cmd/Makefile
97         cmd/zdb/Makefile
98         cmd/zhack/Makefile
99         cmd/zfs/Makefile
100         cmd/zinject/Makefile
101         cmd/zpool/Makefile
102         cmd/zstreamdump/Makefile
103         cmd/ztest/Makefile
104         cmd/zpios/Makefile
105         cmd/mount_zfs/Makefile
106         cmd/fsck_zfs/Makefile
107         cmd/zvol_id/Makefile
108         cmd/vdev_id/Makefile
109         cmd/arcstat/Makefile
110         cmd/dbufstat/Makefile
111         module/Makefile
112         module/avl/Makefile
113         module/nvpair/Makefile
114         module/unicode/Makefile
115         module/zcommon/Makefile
116         module/zfs/Makefile
117         module/zpios/Makefile
118         include/Makefile
119         include/linux/Makefile
120         include/sys/Makefile
121         include/sys/fs/Makefile
122         include/sys/fm/Makefile
123         include/sys/fm/fs/Makefile
124         scripts/Makefile
125         scripts/zpios-profile/Makefile
126         scripts/zpios-test/Makefile
127         scripts/zpool-config/Makefile
128         scripts/common.sh
129         rpm/Makefile
130         rpm/fedora/Makefile
131         rpm/fedora/zfs.spec
132         rpm/fedora/zfs-kmod.spec
133         rpm/fedora/zfs-dkms.spec
134         rpm/generic/Makefile
135         rpm/generic/zfs.spec
136         rpm/generic/zfs-kmod.spec
137         rpm/generic/zfs-dkms.spec
138         zfs-script-config.sh
139         zfs.release
140 ])
141
142 AC_OUTPUT