aboutsummaryrefslogtreecommitdiff
path: root/config/zfs-build.m4
diff options
context:
space:
mode:
authorBrian Behlendorf <behlendorf1@llnl.gov>2011-06-14 22:09:05 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2011-06-14 23:40:35 +0000
commit2e08aedba456dccddf6418908a55014e56cad226 (patch)
treea75555bfa4b1760023fb1620cb843b53376d936e /config/zfs-build.m4
parent8a7e1ceefa430988c8f888ca708ab307333b4464 (diff)
downloadsrc-2e08aedba456dccddf6418908a55014e56cad226.tar.gz
src-2e08aedba456dccddf6418908a55014e56cad226.zip
Diffstat (limited to 'config/zfs-build.m4')
-rw-r--r--config/zfs-build.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/config/zfs-build.m4 b/config/zfs-build.m4
index 773a9448c461..e048596de743 100644
--- a/config/zfs-build.m4
+++ b/config/zfs-build.m4
@@ -33,6 +33,10 @@ AC_DEFUN([ZFS_AC_DEBUG], [
AC_MSG_RESULT([$enable_debug])
])
+AC_DEFUN([ZFS_AC_CONFIG_ALWAYS], [
+ ZFS_AC_CONFIG_ALWAYS_NO_UNUSED_BUT_SET_VARIABLE
+])
+
AC_DEFUN([ZFS_AC_CONFIG], [
TARGET_ASM_DIR=asm-generic
AC_SUBST(TARGET_ASM_DIR)
@@ -47,6 +51,8 @@ AC_DEFUN([ZFS_AC_CONFIG], [
AC_MSG_RESULT([$ZFS_CONFIG]);
AC_SUBST(ZFS_CONFIG)
+ ZFS_AC_CONFIG_ALWAYS
+
case "$ZFS_CONFIG" in
kernel) ZFS_AC_CONFIG_KERNEL ;;
user) ZFS_AC_CONFIG_USER ;;