about summary refs log tree commit diff
path: root/INSTALL
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-14 00:19:18 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-14 00:19:18 +0000
commit33457202ce09232486a4456bc90a07d19ed5537a (patch)
treeffa7b16788faebb6dda3845e7a3393746fada27c /INSTALL
parent6751b5398a282cf00e88ff1548267b5190ba0ef7 (diff)
downloadzsh-33457202ce09232486a4456bc90a07d19ed5537a.tar.gz
zsh-33457202ce09232486a4456bc90a07d19ed5537a.tar.xz
zsh-33457202ce09232486a4456bc90a07d19ed5537a.zip
zsh-workers/9701
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL17
1 files changed, 15 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index b807c4abb..ef24ad690 100644
--- a/INSTALL
+++ b/INSTALL
@@ -59,8 +59,8 @@ is EPREFIX/lib/zsh/<zsh-version-number>, where EPREFIX defaults to PREFIX
 unless given explicitly, and PREFIX defaults to /usr/local.  See the end of
 this file for options to configure to change these.
 
-Adding more modules
--------------------
+Adding and removing modules
+---------------------------
 
 The zsh distribution contains several modules, in the Src/Builtins,
 Src/Modules and Src/Zle directories.  If you have any additional zsh
@@ -73,6 +73,18 @@ If you wish to add or remove modules or module directories after you
 have already run make, then after adding or removing the modules run:
     make prep
 
+You can also instruct the configuration process that a certain module
+should neither be compiled nor installed without modifying any files.  To
+do this, give the argument `--enable-omit-modules=mod1,mod2,...' to
+configure.  The module arguments are the full names of the modules,
+probably including the prefix `zsh/'.  For example,
+`configure --enable-omit-modules=zsh/zpty,zsh/example' says that the
+modules zsh/zpty and zsh/example are not to be compiled nor installed.
+Note that it is up to you to make sure the modules in question are not going
+to be compiled into the main zsh binary, as described in the next section.
+It is unlikely you would want to omit any of the modules liable to be
+compiled in by default.
+
 Controlling what is compiled into the main zsh binary
 -----------------------------------------------------
 
@@ -365,6 +377,7 @@ Features:
      fndir=directory     # the directory where shell functions will go
      site-fndir=directory# the directory where site-specific functions can go
      function-subdirs    # if functions will be installed into subdirectories
+     omit-modules=mod1,..# don't compile nor install the modules named mod1,...
      dynamic             # allow dynamically loaded binary modules
      lfs                 # allow configure check for large files
      locale              # allow use of locale library