diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-06 10:18:57 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-06 10:18:57 +0300 |
commit | d5972272d2b725ab6a2789899f8b6c1d2a8113e3 (patch) | |
tree | b403cf1c773425d258669c2a65a36b371993ce8e /configure.ac | |
parent | 8090763d76bc85c4a50415114f6aa5fa64080ba4 (diff) | |
parent | a5ba84b7f242b209691d926f786bd48953a43803 (diff) |
Merge pull request #888 from keszybz/completions-optional
build-sys: allow skipping installation of completions
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f1ce9ff300..a9de4d62a9 100644 --- a/configure.ac +++ b/configure.ac @@ -1340,11 +1340,13 @@ AC_ARG_WITH([bashcompletiondir], ] , [ with_bashcompletiondir=${datadir}/bash-completion/completions ])]) +AM_CONDITIONAL(ENABLE_BASH_COMPLETION, [test "$with_bashcompletiondir" != "no"]) AX_NORMALIZE_PATH([with_bashcompletiondir]) AC_ARG_WITH([zshcompletiondir], AS_HELP_STRING([--with-zshcompletiondir=DIR], [Zsh completions directory]), [], [with_zshcompletiondir=${datadir}/zsh/site-functions]) +AM_CONDITIONAL(ENABLE_ZSH_COMPLETION, [test "$with_zshcompletiondir" != "no"]) AX_NORMALIZE_PATH([with_zshcompletiondir]) AC_ARG_WITH([rootprefix], |