]> git.proxmox.com Git - mirror_spl.git/blame - configure.ac
Add ASSERT3B/VERIFY3B/USEC2NSEC/NSEC2USEC macros
[mirror_spl.git] / configure.ac
CommitLineData
716154c5
BB
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.
3d6af2dd 11# For details, see <http://zfsonlinux.org/>.
716154c5
BB
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###############################################################################
715f6251 26
a4f54cf0
HM
27AC_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'))
0c617c9a 29AC_LANG(C)
dd529a30 30SPL_AC_META
bf9f3bac 31AC_CONFIG_AUX_DIR([config])
83918aeb 32AC_CONFIG_MACRO_DIR([config])
f1ca4da6 33AC_CANONICAL_SYSTEM
bf9f3bac 34AM_MAINTAINER_MODE
c76b1dab 35m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
a4f54cf0 36AM_INIT_AUTOMAKE
16b719f0
BB
37AC_CONFIG_HEADERS([spl_config.h], [
38 (mv spl_config.h spl_config.h.tmp &&
a7958f7e 39 awk -f ${ac_srcdir}/config/config.awk spl_config.h.tmp >spl_config.h &&
16b719f0 40 rm spl_config.h.tmp) || exit 1])
f1ca4da6 41
42AC_PROG_INSTALL
43AC_PROG_CC
564f6d15 44AC_PROG_LIBTOOL
f1ca4da6 45
6a1c3d41 46SPL_AC_LICENSE
287b2fb1 47SPL_AC_PACKAGE
86933a6e 48SPL_AC_CONFIG
f1ca4da6 49
f6c5d4ff
BB
50AC_CONFIG_FILES([
51 Makefile
40748209
DH
52 man/Makefile
53 man/man1/Makefile
30607d9b 54 man/man5/Makefile
f6c5d4ff
BB
55 lib/Makefile
56 cmd/Makefile
5578f58b
BP
57 cmd/splat/Makefile
58 cmd/splslab/Makefile
f6c5d4ff
BB
59 module/Makefile
60 module/spl/Makefile
61 module/splat/Makefile
62 include/Makefile
d1142fbf
BB
63 include/fs/Makefile
64 include/linux/Makefile
65 include/rpc/Makefile
66 include/sharefs/Makefile
67 include/sys/Makefile
68 include/sys/fm/Makefile
69 include/sys/fs/Makefile
70 include/sys/sysevent/Makefile
71 include/util/Makefile
72 include/vm/Makefile
f6c5d4ff 73 scripts/Makefile
493972c8 74 rpm/Makefile
fade6b00
BB
75 rpm/redhat/Makefile
76 rpm/redhat/spl.spec
77 rpm/redhat/spl-kmod.spec
78 rpm/redhat/spl-dkms.spec
493972c8
BB
79 rpm/generic/Makefile
80 rpm/generic/spl.spec
81 rpm/generic/spl-kmod.spec
82 rpm/generic/spl-dkms.spec
d801db14 83 spl.release
f6c5d4ff 84])
f1ca4da6 85
86AC_OUTPUT