]> git.proxmox.com Git - mirror_spl.git/blame - configure.ac
* : Add autogen.sh products.
[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
bf9f3bac 29AC_CONFIG_AUX_DIR([config])
f1ca4da6 30AC_CANONICAL_SYSTEM
5457aee1 31AM_INIT_AUTOMAKE(spl, 0.3.4)
57d86234 32AC_CONFIG_HEADERS([spl_config.h])
bf9f3bac 33AM_MAINTAINER_MODE
f1ca4da6 34
35AC_PROG_INSTALL
36AC_PROG_CC
564f6d15 37AC_PROG_LIBTOOL
f1ca4da6 38
57d86234 39LINUX=
40LINUX_OBJ=
f1ca4da6 41
cc7449cc 42SPL_AC_KERNEL
6a1c3d41 43SPL_AC_LICENSE
cc7449cc 44SPL_AC_DEBUG
45SPL_AC_DEBUG_KMEM
46SPL_AC_DEBUG_MUTEX
47SPL_AC_DEBUG_KSTAT
48SPL_AC_DEBUG_CALLB
57d86234 49SPL_AC_TYPE_UINTPTR_T
a0f6da3d 50SPL_AC_TYPE_ATOMIC64_T
57d86234 51SPL_AC_3ARGS_INIT_WORK
52SPL_AC_2ARGS_REGISTER_SYSCTL
57d86234 53SPL_AC_SET_SHRINKER
54SPL_AC_PATH_IN_NAMEIDATA
55SPL_AC_TASK_CURR
56SPL_AC_CTL_UNNUMBERED
877a32e9 57SPL_AC_FLS64
46c685d0 58SPL_AC_DEVICE_CREATE
59SPL_AC_CLASS_DEVICE_CREATE
6a6cafbe 60SPL_AC_SET_NORMALIZED_TIMESPEC_EXPORT
61SPL_AC_SET_NORMALIZED_TIMESPEC_INLINE
62SPL_AC_TIMESPEC_SUB
3d061e9d 63SPL_AC_INIT_UTSNAME
86de8532 64SPL_AC_FDTABLE_HEADER
3d061e9d 65SPL_AC_FILES_FDTABLE
322640b7 66SPL_AC_UACCESS_HEADER
3d061e9d 67SPL_AC_KMALLOC_NODE
68SPL_AC_MONOTONIC_CLOCK
69SPL_AC_INODE_I_MUTEX
b61a6e8b 70SPL_AC_DIV64_64
f1ca4da6 71
d5f087ad 72TOPDIR=`/bin/pwd`
73
3d4ea0ce 74# Add "V=1" to KERNELMAKE_PARAMS to enable verbose module build
75KERNELMAKE_PARAMS=
cc7449cc 76KERNELCPPFLAGS="${KERNELCPPFLAGS} -I$TOPDIR -I$TOPDIR/include"
3d4ea0ce 77
57d86234 78if test "${LINUX_OBJ}" != "${LINUX}"; then
f1ca4da6 79 KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$kernelbuild"
80fi
81
82AC_SUBST(KERNELMAKE_PARAMS)
83AC_SUBST(KERNELCPPFLAGS)
84AC_SUBST(KERNELCFLAGS)
85
86AC_CONFIG_FILES([ Makefile
a0aadf56 87 lib/Makefile
88 cmd/Makefile
89 modules/Makefile
90 modules/spl/Makefile
91 modules/splat/Makefile
f1ca4da6 92 include/Makefile
f4b37741 93 include/sys/Makefile
f1ca4da6 94 scripts/Makefile
95 scripts/spl.spec
96 ])
97
98AC_OUTPUT