summaryrefslogtreecommitdiffstats
path: root/config/mount-helper.m4
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2014-08-29 14:16:41 -0400
committerBrian Behlendorf <[email protected]>2014-10-28 09:40:59 -0700
commit60e9f69c975b1ee40de2f91783e2817be44ec8a7 (patch)
tree1fbeccd81770385695c30f43d16f19183e066b3f /config/mount-helper.m4
parentd8d78267214b17ffa5f1f0ae0695d69bb8d6b767 (diff)
Make directory into which mount.zfs is installed configurable
Installing outside of the prefix is not permissible under Gentoo Prefix. The package manager will cause the installation process to fail if/when it sees this. I could script a workaround inside the ebuild, but it seemed to make more sense to make this more configurable. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #2641
Diffstat (limited to 'config/mount-helper.m4')
-rw-r--r--config/mount-helper.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/config/mount-helper.m4 b/config/mount-helper.m4
new file mode 100644
index 000000000..ad494f1e5
--- /dev/null
+++ b/config/mount-helper.m4
@@ -0,0 +1,8 @@
+AC_DEFUN([ZFS_AC_CONFIG_USER_MOUNT_HELPER], [
+ AC_ARG_WITH(mounthelperdir,
+ AC_HELP_STRING([--with-mounthelperdir=DIR],
+ [install mount.zfs in dir [[/sbin]]]),
+ mounthelperdir=$withval,mounthelperdir=$sbindir)
+
+ AC_SUBST(mounthelperdir)
+])