diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-21 11:48:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-21 11:48:51 +0100 |
commit | 9d302ad4e31b4e20ce0b3af700f43edb6f5e6036 (patch) | |
tree | bf98d94b2534ef89d8287a9f18a13110937a1e22 /src/os_unix.h | |
parent | a79fd56923744e331b3a5badbf9186100818fb45 (diff) | |
download | vim-git-9d302ad4e31b4e20ce0b3af700f43edb6f5e6036.tar.gz |
patch 8.1.0612: cannot use two global runtime dirs with configurev8.1.0612
Problem: Cannot use two global runtime dirs with configure.
Solution: Support a comma in --with-global-runtime. (James McCoy,
closes #3704)
Diffstat (limited to 'src/os_unix.h')
-rw-r--r-- | src/os_unix.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/os_unix.h b/src/os_unix.h index ca2ce705a..8919ff0fa 100644 --- a/src/os_unix.h +++ b/src/os_unix.h @@ -369,8 +369,13 @@ typedef struct dsc$descriptor DESC; # define CLEAN_RUNTIMEPATH "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after" #else # ifdef RUNTIME_GLOBAL -# define DFLT_RUNTIMEPATH "~/.vim," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after,~/.vim/after" -# define CLEAN_RUNTIMEPATH RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after" +# ifdef RUNTIME_GLOBAL_AFTER +# define DFLT_RUNTIMEPATH "~/.vim," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL_AFTER ",~/.vim/after" +# define CLEAN_RUNTIMEPATH RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL_AFTER +# else +# define DFLT_RUNTIMEPATH "~/.vim," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after,~/.vim/after" +# define CLEAN_RUNTIMEPATH RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after" +# endif # else # define DFLT_RUNTIMEPATH "~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after" # define CLEAN_RUNTIMEPATH "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after" |