zsh-workers
 help / color / mirror / code / Atom feed
* config.h and dependency on module zsh/main
@ 2000-08-02 10:04 Andrej Borsenkow
  2000-08-02 10:14 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Andrej Borsenkow @ 2000-08-02 10:04 UTC (permalink / raw)
  To: ZSH workers mailing list

config.h is included from Src/zsh.mdh. Unfortunately, if modules sets
"nozshdep", Src/zsh.mdh is not included. But even in this case we may need
some configuration information? Or do I miss something?

-andrej

Have a nice DOS!
B >>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: config.h and dependency on module zsh/main
  2000-08-02 10:04 config.h and dependency on module zsh/main Andrej Borsenkow
@ 2000-08-02 10:14 ` Peter Stephenson
  2000-08-02 21:03   ` Zefram
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2000-08-02 10:14 UTC (permalink / raw)
  To: Zsh hackers list

> config.h is included from Src/zsh.mdh. Unfortunately, if modules sets
> "nozshdep", Src/zsh.mdh is not included. But even in this case we may need
> some configuration information? Or do I miss something?

I'm not clear what `nozshdep' actually means.  Currently it's used only in
the main zsh module to avoid circular dependencies.  It's hard to conceive
of a real module that *doesn't* depend on the main executable.  It would
have to be some standalone thing (in which case config.h would not be
relevant).  Or maybe I've missed the point too.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: config.h and dependency on module zsh/main
  2000-08-02 10:14 ` Peter Stephenson
@ 2000-08-02 21:03   ` Zefram
  0 siblings, 0 replies; 3+ messages in thread
From: Zefram @ 2000-08-02 21:03 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: Zsh hackers list

Peter Stephenson wrote:
>I'm not clear what `nozshdep' actually means.  Currently it's used only in
>the main zsh module to avoid circular dependencies.

That's all it's intended for.

>                                                     It's hard to conceive
>of a real module that *doesn't* depend on the main executable.  It would
>have to be some standalone thing (in which case config.h would not be
>relevant).

Something like that.  Basically, if you want to use nozshdep in a module
other than zsh/main, you'd better know what you're doing.  Knowing what
you're doing includes #including config.h if you actually need it.

-zefram


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-08-02 21:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-02 10:04 config.h and dependency on module zsh/main Andrej Borsenkow
2000-08-02 10:14 ` Peter Stephenson
2000-08-02 21:03   ` Zefram

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).