Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: omit modules from compilation and installation process
- X-seq: zsh-workers 9727
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: omit modules from compilation and installation process
- Date: Mon, 14 Feb 2000 19:10:04 +0000
- In-reply-to: ""Andrej Borsenkow""'s message of "Mon, 14 Feb 2000 10:14:11 +0300." <000001bf76bb$174c9500$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
"Andrej Borsenkow" wrote:
> > Now you can give configure a comma-separated list of modules not
> > to compile
> > nor install as --enable-omit-modules=zsh/example,zsh/zpty. Having to use
> > the `enable' in front is a bit tacky, but as far as I can see there's no
> > way round it.
>
> Ahem ... what's wrong with --(disable|enable)-modules=... ?
--disable-modules is a synonym for --enable-modules=no, it doesn't take
arguments. The nearest possibility is Bart's suggestion for using some
kind of negation symbol.
> Is it usable for static compilation as well? Will it completely replace
> defaults? Probably, meta keywords like
>
> --enable-modules=all
> --enable-modules=default,zsh/zpty
>
> would be useful (but, may be, for static case only).
The first question is what Bart was addressing. Something along those
lines should presumably be possible, but I think it might be a bit
confusing to overload just the one switch. I might suggest keeping
--enable-omit-modules as it is and having --enable-builtin-modules=... to do
what you (and Bart) are suggesting. Then it ought to be possible to have
"all" (build in all the modules there are, phew), and possible "default"
in the manner you suggest. This is a little harder than
--enable-omit-modules, but probably not too bad.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author