mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
configure: only install bash completion if supported
Our bash completion depends on bash-completion 1.90 or later. Only install where available.
This commit is contained in:
parent
9ac863c549
commit
aff5af582e
1 changed files with 8 additions and 0 deletions
8
configure
vendored
8
configure
vendored
|
@ -360,6 +360,14 @@ else
|
|||
have_valgrind=0
|
||||
fi
|
||||
|
||||
printf "Checking for bash-completion (>= 1.90)... "
|
||||
if pkg-config --atleast-version=1.90 bash-completion; then
|
||||
printf "Yes.\n"
|
||||
else
|
||||
printf "No (will not install bash completion).\n"
|
||||
WITH_BASH=0
|
||||
fi
|
||||
|
||||
if [ -z "${EMACSLISPDIR}" ]; then
|
||||
if pkg-config --exists emacs; then
|
||||
EMACSLISPDIR=$(pkg-config emacs --variable sitepkglispdir)
|
||||
|
|
Loading…
Reference in a new issue