From 32974286d41f0041aa6c26157e1a69e193d3b1fa Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Mon, 18 Apr 2011 20:36:31 +0000 Subject: 29008, 29012: Add `--enable-additional-fpath' option to add arbitrary directories to the default `$fpath'. --- Src/zsh.mdd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Src/zsh.mdd') 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." ; \ -- cgit v1.3.1