From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: Modules build framework/autoconf-2.13
Date: Wed, 08 May 2002 12:41:59 +0100 [thread overview]
Message-ID: <13754.1020858119@csr.com> (raw)
In-Reply-To: "Borsenkow Andrej"'s message of "Wed, 08 May 2002 14:41:10 +0400." <6134254DE87BD411908B00A0C99B044F0360C531@mowd019a.mow.siemens.ru>
Borsenkow Andrej wrote:
> Here is suggested change in modules build procedure. It does not strictly
> speaking require autoconf-2.5x but it makes it much more easier and
> consistent.
>
> Every module is locate in own subdirectory. .mdd file specifies
>
> - usual stuff (dependencies, file, etc)
> - Makefile.in fragment
> - configure.in fragment
>
> preconfig script walks source directory and in every directory with *.mdd
> creates
>
> - Makefile.in (using standard template and adding fragment from .mdd)
> - configure.in ( -"- )
>
> preconfig also collects names of all subdirectories and adds them (via
> inclusion) to top-level configure.in that is then using it to recursivly
> call generated module's configure. Then it runs autoconf to create configure
> in all subdirectories.
Sounds quite reasonable. It might make it more difficult to handle
problems with include file location and dependencies on other modules,
but that's currently not all that robust. Possibly the directory
structure could reflect this, dependencies living in higher directories.
(Doesn't help multiple dependencies, though.)
It would be neatest if it were possible to add an new module and add its
tools without regenerating the whole set, i.e. looping over separate
configure files rather than appending them to the main one.
Subdirectories ought to be subdirectories of Modules, not directly of
Src. I don't know what would happen with Zle.
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070
**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.
**********************************************************************
next prev parent reply other threads:[~2002-05-08 11:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-08 10:41 Borsenkow Andrej
2002-05-08 11:41 ` Peter Stephenson [this message]
2002-05-08 11:56 ` Borsenkow Andrej
2002-05-08 12:42 ` Peter Stephenson
2002-05-08 15:45 ` Bart Schaefer
2002-05-08 16:01 ` Borsenkow Andrej
2002-05-08 16:21 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=13754.1020858119@csr.com \
--to=pws@csr.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).