]> granicus.if.org Git - zfs/blob - configure.ac
Fix warning about AM_INIT_AUTOMAKE arguments
[zfs] / configure.ac
1 ###############################################################################
2 # SPL AutoConf Configuration
3 ###############################################################################
4 # Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
5 # Copyright (C) 2007 The Regents of the University of California.
6 # Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
7 # Written by Brian Behlendorf <behlendorf1@llnl.gov>.
8 # UCRL-CODE-235197
9 #
10 # This file is part of the SPL, Solaris Porting Layer.
11 # For details, see <http://zfsonlinux.org/>.
12 #
13 # The SPL is free software; you can redistribute it and/or modify it
14 # under the terms of the GNU General Public License as published by the
15 # Free Software Foundation; either version 2 of the License, or (at your
16 # option) any later version.
17 #
18 # The SPL is distributed in the hope that it will be useful, but WITHOUT
19 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21 # for more details.
22 #
23 # You should have received a copy of the GNU General Public License along
24 # with the SPL.  If not, see <http://www.gnu.org/licenses/>.
25 ###############################################################################
26
27 AC_INIT(m4_esyscmd(grep Name META | cut -d ':' -f 2 | tr -d ' \n'),
28         m4_esyscmd(grep Version META | cut -d ':' -f 2 | tr -d ' \n'))
29 AC_LANG(C)
30 SPL_AC_META
31 AC_CONFIG_AUX_DIR([config])
32 AC_CONFIG_MACRO_DIR([config])
33 AC_CANONICAL_SYSTEM
34 AM_MAINTAINER_MODE
35 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
36 AM_INIT_AUTOMAKE
37 AC_CONFIG_HEADERS([spl_config.h], [
38         (mv spl_config.h spl_config.h.tmp &&
39         awk -f ${ac_srcdir}/config/config.awk spl_config.h.tmp >spl_config.h &&
40         rm spl_config.h.tmp) || exit 1])
41
42 AC_PROG_INSTALL
43 AC_PROG_CC
44 AC_PROG_LIBTOOL
45
46 SPL_AC_LICENSE
47 SPL_AC_PACKAGE
48 SPL_AC_CONFIG
49
50 AC_CONFIG_FILES([
51         Makefile
52         man/Makefile
53         man/man1/Makefile
54         man/man5/Makefile
55         lib/Makefile
56         cmd/Makefile
57         module/Makefile
58         module/spl/Makefile
59         module/splat/Makefile
60         include/Makefile
61         include/fs/Makefile
62         include/linux/Makefile
63         include/rpc/Makefile
64         include/sharefs/Makefile
65         include/sys/Makefile
66         include/sys/fm/Makefile
67         include/sys/fs/Makefile
68         include/sys/sysevent/Makefile
69         include/util/Makefile
70         include/vm/Makefile
71         scripts/Makefile
72         rpm/Makefile
73         rpm/fedora/Makefile
74         rpm/fedora/spl.spec
75         rpm/fedora/spl-kmod.spec
76         rpm/fedora/spl-dkms.spec
77         rpm/generic/Makefile
78         rpm/generic/spl.spec
79         rpm/generic/spl-kmod.spec
80         rpm/generic/spl-dkms.spec
81         spl.release
82 ])
83
84 AC_OUTPUT