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 /configure.ac | |
| parent | Simon Ruderich: 29004: update archive list (diff) | |
| download | zsh-32974286d41f0041aa6c26157e1a69e193d3b1fa.tar zsh-32974286d41f0041aa6c26157e1a69e193d3b1fa.tar.gz zsh-32974286d41f0041aa6c26157e1a69e193d3b1fa.tar.bz2 zsh-32974286d41f0041aa6c26157e1a69e193d3b1fa.tar.lz zsh-32974286d41f0041aa6c26157e1a69e193d3b1fa.tar.xz zsh-32974286d41f0041aa6c26157e1a69e193d3b1fa.tar.zst zsh-32974286d41f0041aa6c26157e1a69e193d3b1fa.zip | |
29008, 29012: Add `--enable-additional-fpath' option to add arbitrary directories to the default `$fpath'.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fca1dd6a2..116de2e4f 100644 --- a/configure.ac +++ b/configure.ac @@ -276,6 +276,16 @@ else FUNCTIONS_SUBDIRS=no fi +ifdef([additionalfpath],[undefine([additionalfpath])])dnl +AC_ARG_ENABLE(additional-fpath, +AC_HELP_STRING([--enable-additional-fpath=DIR], [add directories to default function path]), +[if test x$enableval = xyes; then + additionalfpath="" +else + additionalfpath="${enableval}" +fi], [additionalfpath=""]) + +AC_SUBST(additionalfpath)dnl AC_SUBST(fndir)dnl AC_SUBST(sitefndir)dnl AC_SUBST(FUNCTIONS_SUBDIRS)dnl @@ -3088,6 +3098,9 @@ info install path : ${zshinfo}" if test "$zshfndir" != no; then echo "functions install path : ${zshfndir}" fi +if test "x$additionalfpath" != x; then + echo "additional fpath entries : ${additionalfpath}" +fi echo "See config.modules for installed modules and functions. " |
