Search code examples
shared-librariesautoconf

How to get library version in autoconf?


I need to know the version of the library libraptor2 installed on the computer.

Preferably I need to determine it in configure script.

How to do it?


Solution

  • It can be done this way:

    RAPTOR_VERSION=`pkg-config --modversion raptor2`