diff options
author | Frank Terbeck <bewater@users.sourceforge.net> | 2011-04-18 20:36:31 +0000 |
---|---|---|
committer | Frank Terbeck <bewater@users.sourceforge.net> | 2011-04-18 20:36:31 +0000 |
commit | 32974286d41f0041aa6c26157e1a69e193d3b1fa (patch) | |
tree | 9c551b43c30b125b2dad0c5ed72dc654f679bd6f /Src/zsh.mdd | |
parent | 95b83f217d7ec89be0a05437b8dccf96f7d15dd8 (diff) | |
download | zsh-32974286d41f0041aa6c26157e1a69e193d3b1fa.tar.gz zsh-32974286d41f0041aa6c26157e1a69e193d3b1fa.tar.xz zsh-32974286d41f0041aa6c26157e1a69e193d3b1fa.zip |
29008, 29012: Add `--enable-additional-fpath' option to add arbitrary directories to the default `$fpath'.
Diffstat (limited to 'Src/zsh.mdd')
-rw-r--r-- | Src/zsh.mdd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/zsh.mdd b/Src/zsh.mdd index 537aa4d8e..9f19b45da 100644 --- a/Src/zsh.mdd +++ b/Src/zsh.mdd @@ -86,6 +86,10 @@ zshpaths.h: Makemod $(CONFIG_INCS) >>zshpaths.h.tmp; \ fi; \ fi + @if test x$(additionalfpath) != x; then \ + fpath_tmp="`echo $(additionalfpath) | sed -e 's:,:\", \":g'`"; \ + echo "#define ADDITIONAL_FPATH { \"$$fpath_tmp\" }" >> zshpaths.h.tmp; \ + fi @if cmp -s zshpaths.h zshpaths.h.tmp; then \ rm -f zshpaths.h.tmp; \ echo "\`zshpaths.h' is up to date." ; \ |