[Top][All Lists]

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

Re: using la files for config checks?

From: Gary V. Vaughan
Subject: Re: using la files for config checks?
Date: Fri, 24 Sep 2004 20:31:03 +0100
User-agent: Mozilla Thunderbird 0.8 (Macintosh/20040913)

Hallo Marcus!

Marcus Brinkmann wrote:
I was just looking at the *-config scripts for our library packages,
and what other solutions exist there (pkg-config), and feel that there
must be a better solution.  In particular, pkg-config only allows for
a package version constraint check, which is by libtool standards
independent of the API version.  We have an extra option --api-version
to cover that, but it is quite dumb (you need to combine it with a
package version check to get the full representation of interface
version and age).

Has anybody ever thought of writing an autoconf check for library
packages that uses the information from the .la files that are
installed by libtool, so that the user of a library can easily add a
version check for a libtoolized library (and maybe get at cflags and
ldflags if he doesn't want to use libtool himself)?  Is that useful
and/or possible?

I have certainly thought about it before, and it seems like an obvious
and practical enhancement to libtool -- I think I even added a TODO
entry.  I don't even think it would be that difficult, I just haven't
had enough time to make a start.

If you decide to work on this, and need any help or advice, I'd be delighted to help.

Gary V. Vaughan      ())_.  address@hidden,}
Research Scientist   ( '/
GNU Hacker           / )=
Technical Author   `(_~)_

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]