]>
Commit | Line | Data |
---|---|---|
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. | |
11 | # For details, see <http://github.com/behlendorf/spl/>. | |
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 | |
f1ca4da6 | 27 | AC_INIT |
0c617c9a | 28 | AC_LANG(C) |
dd529a30 | 29 | SPL_AC_META |
bf9f3bac | 30 | AC_CONFIG_AUX_DIR([config]) |
f1ca4da6 | 31 | AC_CANONICAL_SYSTEM |
bf9f3bac | 32 | AM_MAINTAINER_MODE |
8934764e | 33 | AM_SILENT_RULES |
16b719f0 BB |
34 | AM_INIT_AUTOMAKE([$SPL_META_NAME], [$SPL_META_VERSION]) |
35 | AC_CONFIG_HEADERS([spl_config.h], [ | |
36 | (mv spl_config.h spl_config.h.tmp && | |
a7958f7e | 37 | awk -f ${ac_srcdir}/config/config.awk spl_config.h.tmp >spl_config.h && |
16b719f0 | 38 | rm spl_config.h.tmp) || exit 1]) |
f1ca4da6 | 39 | |
40 | AC_PROG_INSTALL | |
41 | AC_PROG_CC | |
564f6d15 | 42 | AC_PROG_LIBTOOL |
f1ca4da6 | 43 | |
6a1c3d41 | 44 | SPL_AC_LICENSE |
287b2fb1 | 45 | SPL_AC_PACKAGE |
86933a6e | 46 | SPL_AC_CONFIG |
f1ca4da6 | 47 | |
f6c5d4ff BB |
48 | AC_CONFIG_FILES([ |
49 | Makefile | |
50 | lib/Makefile | |
51 | cmd/Makefile | |
52 | module/Makefile | |
53 | module/spl/Makefile | |
54 | module/splat/Makefile | |
55 | include/Makefile | |
f6c5d4ff | 56 | scripts/Makefile |
c5f70460 | 57 | spl.spec |
86933a6e | 58 | spl-modules.spec |
f6c5d4ff | 59 | ]) |
f1ca4da6 | 60 | |
61 | AC_OUTPUT |