Two library versions with autoconf
Posted on 2002-04-15
Here's my problem: I have a program (server) that uses library libfoo. I maintain it with CVS and GNU machinery (autoconf, automake, libtool and family). Now, I want to have two versions of server running on my system: old branch using libfoo version 1, and new one using libfoo version 2, so that another programmer can continue his work on client, while I test new features in the server. But autoconfigured makefile creates (with libtool) library with version 0.0.0 and I cannot find where to change that.
How can I make libtool create libraries with another version numbers?
What changes should I make in config.in or Makefile.am to link server with libfoo.so.1, not libfoo.so.0?