Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Module configuration changes



> there seems to be one more value "either" that links dynamically if possible
> else statically. Is it user visible? In this case better name is needed.

No, it doesn't work in config.modules, it just allows configure to choose.
It means it should be linked by whichever way we have.

> "auto"? Also, "dynamic" won't link a module
> if compiled statically. That needs a word in documentation.

But the dynamic and static object files have different names, probably
because of this, so running `make prep', as it says in INSTALL, then `make'
should recompile properly, shouldn't it?  If not, what goes wrong?

Index: Etc/zsh-development-guide
===================================================================
RCS file: /cvsroot/zsh/zsh/Etc/zsh-development-guide,v
retrieving revision 1.4
diff -u -r1.4 zsh-development-guide
--- Etc/zsh-development-guide	2000/11/26 20:01:03	1.4
+++ Etc/zsh-development-guide	2000/11/27 10:16:45
@@ -182,6 +182,9 @@
 
   - name            name of the module
   - link            `static', `dynamic' or `no', as described in INSTALL.
+		    In addition, the value `either' is allowed in the .mdd
+		    file, which will be converted by configure to `dynamic'
+		    if that is available, else `static'.
 		    May also be a command string, which will be run within
 		    configure and whose output is used to set the value
 		    of `link' in config.modules.  This allows a

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



Messages sorted by: Reverse Date, Date, Thread, Author