[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SUMMARY: Re: shared library -dev package naming proposal

GOMBAS Gabor <gombasg@sztaki.hu> wrote:

> On Thu, Jul 28, 2005 at 08:57:29AM -0400, Stephen Frost wrote:
>> I'd think we could come up with a way to detect the version of libtool
>> in use, somehow. :)
> LTMAIN_SH_PATH=`autoconf --trace='AC_CONFIG_AUX_DIR:$1'`
> grep ^VERSION "$LTMAIN_SH_PATH"/ltmain.sh | cut -d= -f2

This is nice, but I think it's not really very autoconfish [tm] in
spirit.  Perhaps it would be better to be able to detect whether the
desired feature (whatever that is) is present in the appropriate
libtool rather than looking at the version number.  I had indicated in
an earlier post that maybe looking at .la files would be possible,
though this is by no means a certainty.  Also, this invokes autoconf,
which we don't necessarily want to do at package build time since this
will cause packages to require a build dependency on autotools, a
topic which has been discussed at length before.  If we went the route
of detecting libtool version, I believe we would need to know the
version of libtool that was used to create the .la file of the
dependent package.  Is this right?  Maybe not -- I'm not fully up to
speed on all the issues yet.  Anyway, I'll put together a more
comprehensive proposal on how dh_libtool should work when I have a
chance to work on it.  (Unfortunately, that's not going to be for a
few weeks -- things are even more unusually busy than their usual
level of unusualness right now in both my personal and professional
lives...)  Of course, all ideas and suggestions such as this are
welcome and are being saved in my notes, in spite of any first
impressions I may have on whether they will actually work
specifically.  Thanks. :-)

Jay Berkenbilt <qjb@debian.org>

Reply to: