Hello Sébastien, Warren, all,
On Fri, 2009-02-13 at 11:09 -0700, Warren Young wrote:
Sébastien Le Roux wrote:
I wonder if there is a way (a macro ?) to obtain the version of a library.
Maybe, but the Autoconf Way is to test for features, not versions.
A couple of useful replies
Hello all autoconf users,
I wonder if there is a way (a macro ?) to obtain the version of a library.
ie. the library has been found by and the results of the check would be
to send
back the version of the library:
*AC_CHECK_LIB* (library, function, [action-if-found],
[action-if-not-found],
Sébastien Le Roux wrote:
I wonder if there is a way (a macro ?) to obtain the version of a library.
Maybe, but the Autoconf Way is to test for features, not versions.
Take the simple case, only two supported versions of a library, old and
new. You write a single autoconf test that tries to