Re: Maintainer friendly mode for autotools projects

2009-02-13 Thread Steffen Dettmer
On Thu, Feb 12, 2009 at 7:59 PM, Ivan Levashew wrote: > Generally, I'd like build system and compiler to be as humble > as possible. Don't run tests on my platform, don't look for > libraries and headers in my /usr directory. If something is not > specified by means of command line or environment

Re: Maintainer friendly mode for autotools projects

2009-02-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ivan Levashew on 2/12/2009 11:59 AM: > Generally, I'd like build system and compiler to be as humble as > possible. Don't run tests on my platform, don't look for libraries and > headers in my /usr directory. If something is not specified

Library version thru autoconf ?

2009-02-13 Thread Sébastien Le Roux
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], [o

Re: Library version thru autoconf ?

2009-02-13 Thread Warren Young
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