diff options
author | Peter Stephenson <pws@zsh.org> | 2015-03-18 09:20:44 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-03-18 09:20:44 +0000 |
commit | 0b00462644a79194d67f87397548df8ff0c6c2c5 (patch) | |
tree | 157fd1f209727ffdc89a5a0da1d5a122495ca78c /configure.ac | |
parent | 55fe20cc174c0f3001390290e8505d8bb72dd1f1 (diff) | |
download | zsh-0b00462644a79194d67f87397548df8ff0c6c2c5.tar.gz zsh-0b00462644a79194d67f87397548df8ff0c6c2c5.tar.xz zsh-0b00462644a79194d67f87397548df8ff0c6c2c5.zip |
34723: disable fixed site function dir if user disable site function dir
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7e770cd81..e4de193ed 100644 --- a/configure.ac +++ b/configure.ac @@ -318,7 +318,8 @@ fi], [sitefndir=${datadir}/${tzsh_name}/site-functions]) dnl Add /usr/local/share/zsh/site-functions if not yet present dnl owing to $sitefndir, whether or not explicitly given. dnl If not explicitly given, it hasn't been expanded yet. -if test X$sitefndir = X/usr/local/share/zsh/site-functions +if test X$sitefndir = X/usr/local/share/zsh/site-functions || \ + test X$sitefndir = Xno then fixed_sitefndir='' elif test X$prefix != X/usr/local; then if test X$prefix = XNONE && test X$ac_default_prefix = X/usr/local; then |