]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - configure.ac
Add support for 'make -s' silent builds
[FreeBSD/FreeBSD.git] / configure.ac
1 /*
2  *  This file is part of the SPL: Solaris Porting Layer.
3  *
4  *  Copyright (c) 2008 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  *  UCRL-CODE-235197
11  *
12  *  This is free software; you can redistribute it and/or modify it
13  *  under the terms of the GNU General Public License as published by
14  *  the Free Software Foundation; either version 2 of the License, or
15  *  (at your option) any later version.
16  *
17  *  This is distributed in the hope that it will be useful, but WITHOUT
18  *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19  *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20  *  for more details.
21  *
22  *  You should have received a copy of the GNU General Public License along
23  *  with this program; if not, write to the Free Software Foundation, Inc.,
24  *  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
25  */
26
27 AC_INIT
28 AC_LANG(C)
29 SPL_AC_META
30 AC_CONFIG_AUX_DIR([config])
31 AC_CANONICAL_SYSTEM
32 AM_MAINTAINER_MODE
33 AM_SILENT_RULES
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 &&
37         awk -f config/config.awk spl_config.h.tmp >spl_config.h &&
38         rm spl_config.h.tmp) || exit 1])
39
40 AC_PROG_INSTALL
41 AC_PROG_CC
42 AC_PROG_LIBTOOL
43
44 SPL_AC_LICENSE
45 SPL_AC_CONFIG
46
47 AC_CONFIG_FILES([
48         Makefile
49         lib/Makefile
50         cmd/Makefile
51         module/Makefile
52         module/spl/Makefile
53         module/splat/Makefile
54         include/Makefile
55         scripts/Makefile
56         spl.spec
57         spl-modules.spec
58 ])
59
60 AC_OUTPUT