2 * This file is part of the SPL: Solaris Porting Layer.
4 * Copyright (c) 2008 Lawrence Livermore National Security, LLC.
5 * Produced at Lawrence Livermore National Laboratory
7 * Brian Behlendorf <behlendorf1@llnl.gov>,
8 * Herb Wartens <wartens2@llnl.gov>,
9 * Jim Garlick <garlick@llnl.gov>
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.
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
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.
29 AC_CONFIG_AUX_DIR([config])
31 AM_INIT_AUTOMAKE([$SPL_META_NAME], [$SPL_META_VERSION])
32 AC_CONFIG_HEADERS([spl_config.h])
50 SPL_AC_TYPE_ATOMIC64_T
51 SPL_AC_3ARGS_INIT_WORK
52 SPL_AC_2ARGS_REGISTER_SYSCTL
54 SPL_AC_PATH_IN_NAMEIDATA
59 SPL_AC_CLASS_DEVICE_CREATE
60 SPL_AC_SET_NORMALIZED_TIMESPEC_EXPORT
61 SPL_AC_SET_NORMALIZED_TIMESPEC_INLINE
68 SPL_AC_MONOTONIC_CLOCK
71 SPL_AC_3ARGS_ON_EACH_CPU
75 # Add "V=1" to KERNELMAKE_PARAMS to enable verbose module build
77 KERNELCPPFLAGS="${KERNELCPPFLAGS} -I$TOPDIR -I$TOPDIR/include"
79 if test "${LINUX_OBJ}" != "${LINUX}"; then
80 KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$kernelbuild"
83 AC_SUBST(KERNELMAKE_PARAMS)
84 AC_SUBST(KERNELCPPFLAGS)
85 AC_SUBST(KERNELCFLAGS)
87 AC_CONFIG_FILES([ Makefile