aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorSam James <[email protected]>2023-10-09 20:50:06 +0100
committerBrian Behlendorf <[email protected]>2023-10-10 19:19:09 -0700
commit120d1787d74d51fc65819be25dbc50f3303587e8 (patch)
tree78add4ee3de09c2091acddc59732e945142fc811 /config
parent2407f30bda96f7d61a32fc38c638b3eb5b216284 (diff)
config/zfs-build.m4: add Gentoo's bash-completion path
Followup e69ade32e116e72d03068c03799924c3f1a15c95 by adding Gentoo's bash completion path. We should probably consider using/honouring the standard --with-bashcompletiondir autoconf option as well, but that's something to do later. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Umer Saleem <[email protected]> Signed-off-by: Sam James <[email protected]> Closes #15372
Diffstat (limited to 'config')
-rw-r--r--config/zfs-build.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/zfs-build.m4 b/config/zfs-build.m4
index e4197dc14..5f36569fe 100644
--- a/config/zfs-build.m4
+++ b/config/zfs-build.m4
@@ -626,6 +626,7 @@ AC_DEFUN([ZFS_AC_DEFAULT_PACKAGE], [
ubuntu) bashcompletiondir=/usr/share/bash-completion/completions ;;
debian) bashcompletiondir=/usr/share/bash-completion/completions ;;
freebsd) bashcompletiondir=$sysconfdir/bash_completion.d;;
+ gentoo) bashcompletiondir=/usr/share/bash-completion/completions ;;
*) bashcompletiondir=/etc/bash_completion.d ;;
esac
AC_MSG_RESULT([$bashcompletiondir])