config/zfs-build.m4: add Gentoo's bash-completion path
Followup e69ade32e1
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 <behlendorf1@llnl.gov>
Reviewed-by: Umer Saleem <usaleem@ixsystems.com>
Signed-off-by: Sam James <sam@gentoo.org>
Closes #15372
This commit is contained in:
parent
66b81b3497
commit
c57ff818f6
|
@ -626,6 +626,7 @@ AC_DEFUN([ZFS_AC_DEFAULT_PACKAGE], [
|
||||||
ubuntu) bashcompletiondir=/usr/share/bash-completion/completions ;;
|
ubuntu) bashcompletiondir=/usr/share/bash-completion/completions ;;
|
||||||
debian) bashcompletiondir=/usr/share/bash-completion/completions ;;
|
debian) bashcompletiondir=/usr/share/bash-completion/completions ;;
|
||||||
freebsd) bashcompletiondir=$sysconfdir/bash_completion.d;;
|
freebsd) bashcompletiondir=$sysconfdir/bash_completion.d;;
|
||||||
|
gentoo) bashcompletiondir=/usr/share/bash-completion/completions ;;
|
||||||
*) bashcompletiondir=/etc/bash_completion.d ;;
|
*) bashcompletiondir=/etc/bash_completion.d ;;
|
||||||
esac
|
esac
|
||||||
AC_MSG_RESULT([$bashcompletiondir])
|
AC_MSG_RESULT([$bashcompletiondir])
|
||||||
|
|
Loading…
Reference in New Issue