]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - configure.ac
Add RHEL style kmod packages
[FreeBSD/FreeBSD.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
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 AM_PROG_AS
52
53 ZFS_AC_LICENSE
54 ZFS_AC_PACKAGE
55 ZFS_AC_CONFIG
56 ZFS_AC_DEBUG
57 ZFS_AC_DEBUG_DMU_TX
58
59 AC_CONFIG_FILES([ 
60         Makefile
61         dracut/Makefile
62         dracut/90zfs/Makefile
63         udev/Makefile
64         udev/rules.d/Makefile
65         etc/Makefile
66         etc/init.d/Makefile
67         etc/zfs/Makefile
68         etc/systemd/Makefile
69         etc/systemd/system/Makefile
70         etc/modules-load.d/Makefile
71         man/Makefile
72         man/man1/Makefile
73         man/man5/Makefile
74         man/man8/Makefile
75         lib/Makefile
76         lib/libspl/Makefile
77         lib/libspl/asm-generic/Makefile
78         lib/libspl/asm-i386/Makefile
79         lib/libspl/asm-x86_64/Makefile
80         lib/libspl/include/Makefile
81         lib/libspl/include/ia32/Makefile
82         lib/libspl/include/ia32/sys/Makefile
83         lib/libspl/include/rpc/Makefile
84         lib/libspl/include/sys/Makefile
85         lib/libspl/include/sys/sysevent/Makefile
86         lib/libspl/include/sys/dktp/Makefile
87         lib/libspl/include/util/Makefile
88         lib/libavl/Makefile
89         lib/libefi/Makefile
90         lib/libnvpair/Makefile
91         lib/libunicode/Makefile
92         lib/libuutil/Makefile
93         lib/libzpool/Makefile
94         lib/libzfs/libzfs.pc
95         lib/libzfs/libzfs_core.pc
96         lib/libzfs/Makefile
97         lib/libzfs_core/Makefile
98         lib/libshare/Makefile
99         cmd/Makefile
100         cmd/zdb/Makefile
101         cmd/zhack/Makefile
102         cmd/zfs/Makefile
103         cmd/zinject/Makefile
104         cmd/zpool/Makefile
105         cmd/zstreamdump/Makefile
106         cmd/ztest/Makefile
107         cmd/zpios/Makefile
108         cmd/mount_zfs/Makefile
109         cmd/fsck_zfs/Makefile
110         cmd/zvol_id/Makefile
111         cmd/vdev_id/Makefile
112         cmd/arcstat/Makefile
113         cmd/dbufstat/Makefile
114         cmd/arc_summary/Makefile
115         cmd/zed/Makefile
116         contrib/Makefile
117         contrib/bash_completion.d/Makefile
118         module/Makefile
119         module/avl/Makefile
120         module/nvpair/Makefile
121         module/unicode/Makefile
122         module/zcommon/Makefile
123         module/zfs/Makefile
124         module/zpios/Makefile
125         include/Makefile
126         include/linux/Makefile
127         include/sys/Makefile
128         include/sys/fs/Makefile
129         include/sys/fm/Makefile
130         include/sys/fm/fs/Makefile
131         scripts/Makefile
132         scripts/zpios-profile/Makefile
133         scripts/zpios-test/Makefile
134         scripts/zpool-config/Makefile
135         scripts/common.sh
136         rpm/Makefile
137         rpm/redhat/Makefile
138         rpm/redhat/zfs.spec
139         rpm/redhat/zfs-kmod.spec
140         rpm/redhat/zfs-dkms.spec
141         rpm/generic/Makefile
142         rpm/generic/zfs.spec
143         rpm/generic/zfs-kmod.spec
144         rpm/generic/zfs-dkms.spec
145         zfs-script-config.sh
146         zfs.release
147 ])
148
149 AC_OUTPUT