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

RE: PATCH: zsh/pcre module building



> 
> > - I hoped to create implementation that would share configure cache
and
> > make is possible to list help from every module's configure script
using
> > top-level configure --help and pass parameters to every module's
> > configure script using top-level configure. Using stock autoconf it
is
> 
> Any progress on this?  Are you using AC_CONFIG_SUBDIRS?

Hmm ... I thought I have sent follow-up but may be I just intended to.

Unfortunately so far I could not think out any alternative
implementation that is more simple than we currently have that makes the
rewrite rather pointless.

AC_CONFIG_SUBDIRS is not suitable (and probably will never be suitable).
It is meant for mostly independent packages with minimal information
passed between them. What is more important, there is no way to pass
information back, i.e. subpackage cannot modify main package
configuration. In our case it means, that if a module decides it has to
be built statically it has no way to notify main zsh about it.

There are some possibilities using libtool + libltdl. The main point is,
libtool, to some extent, allows you to link both static libraries,
shared libraries and DSO objects without changing Makefile, depending on
how objects have been built. It does not have full functionality that we
possibly need but it is possible to patch libtool of course.

Sorry that there was not much progress.

-andrej



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