Bob Friesenhahn wrote:
On Fri, 18 Apr 2008, Roumen Petrov wrote:
And if application don't read environment, next request is libtool
wrapper script to pass arguments to application command line.
The whole idea is libtool overkill.
This statement is a little "over the top". Why are you so vehemently
against extending libtool's wrapper for this?
Because I think that modules/application/packages/etc should do their
best work. I don't think that a particular package hast o support
partially or to implement very basic functionality. The est example is
microsoft software where application is feature reach but 99.9% of
features are with partially or basic functionality.
In some cases application depend from other services.
In this case a specific to project wrapper script has to run services,
to check if service is run, to run project application and when
application finish to stop service. The test can be run from makefile.
Certainly it is a bit more work for the libtool project (particularly
adding a wrapper for static binaries) but I can't think of any technical
reason not to support it via environment variables only, as we already
do with some other environment variables. It would help if an
interested party were to submit a patch, along with signing the
necessary paperwork with the FSF so it can be accepted.
We should add it to the TODO list for libtool 2.3.
Bob
Roumen