]> git.proxmox.com Git - mirror_spl.git/blame - configure.ac
Fixes:
[mirror_spl.git] / configure.ac
CommitLineData
715f6251 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
f1ca4da6 27AC_INIT
28
29AC_CANONICAL_SYSTEM
65a045da 30AM_INIT_AUTOMAKE(spl, 0.3.1)
57d86234 31AC_CONFIG_HEADERS([spl_config.h])
f1ca4da6 32
33AC_PROG_INSTALL
34AC_PROG_CC
564f6d15 35AC_PROG_LIBTOOL
f1ca4da6 36
57d86234 37LINUX=
38LINUX_OBJ=
f1ca4da6 39
cc7449cc 40SPL_AC_KERNEL
41SPL_AC_DEBUG
42SPL_AC_DEBUG_KMEM
43SPL_AC_DEBUG_MUTEX
44SPL_AC_DEBUG_KSTAT
45SPL_AC_DEBUG_CALLB
c30df9c8 46SPL_AC_SLUB
57d86234 47SPL_AC_TYPE_UINTPTR_T
48SPL_AC_TYPE_KMEM_CACHE_T
49SPL_AC_KMEM_CACHE_DESTROY_INT
50SPL_AC_ATOMIC_PANIC_NOTIFIER
51SPL_AC_3ARGS_INIT_WORK
52SPL_AC_2ARGS_REGISTER_SYSCTL
53SPL_AC_KMEM_CACHE_T
54SPL_AC_KMEM_CACHE_CREATE_DTOR
55SPL_AC_3ARG_KMEM_CACHE_CREATE_CTOR
56SPL_AC_SET_SHRINKER
57SPL_AC_PATH_IN_NAMEIDATA
58SPL_AC_TASK_CURR
59SPL_AC_CTL_UNNUMBERED
f1ca4da6 60
d5f087ad 61TOPDIR=`/bin/pwd`
62
3d4ea0ce 63# Add "V=1" to KERNELMAKE_PARAMS to enable verbose module build
64KERNELMAKE_PARAMS=
cc7449cc 65KERNELCPPFLAGS="${KERNELCPPFLAGS} -I$TOPDIR -I$TOPDIR/include"
3d4ea0ce 66
57d86234 67if test "${LINUX_OBJ}" != "${LINUX}"; then
f1ca4da6 68 KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$kernelbuild"
69fi
70
71AC_SUBST(KERNELMAKE_PARAMS)
72AC_SUBST(KERNELCPPFLAGS)
73AC_SUBST(KERNELCFLAGS)
74
75AC_CONFIG_FILES([ Makefile
a0aadf56 76 lib/Makefile
77 cmd/Makefile
78 modules/Makefile
79 modules/spl/Makefile
80 modules/splat/Makefile
f1ca4da6 81 include/Makefile
f4b37741 82 include/sys/Makefile
f1ca4da6 83 scripts/Makefile
84 scripts/spl.spec
85 ])
86
87AC_OUTPUT