build: set SONAME version of libraries from configure, not using library-versions
commit6a6b90f4c56f040d19c60122c914b7a7ce64a3c6
authorMichael Adam <obnox@samba.org>
Mon, 7 Jul 2008 15:35:08 +0000 (7 17:35 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 14 Aug 2008 13:06:42 +0000 (14 15:06 +0200)
tree6cec9001e17cc697c40d69c9fb9e0bb414797bf7
parente2624c2537e87acad7cfd58c76cb471d7141801c
build: set SONAME version of libraries from configure, not using library-versions

This sets the library versions (previously gotten from library-versions
file during make) already at configure time.

For library "foo", the version is stored in the LIBFOO_SOVER configure
variable.  For all libraries except libwbclient, this is done through the
call of SMB_LIBRARY().

NOTE: Currently the versions are hard-coded in the SMB_LIBRARY() calls in
configure.in, but this change makes it easier to retrieve the version from
the libraries source dir at configure time, e.g. for talloc and tdb.

Michael
(cherry picked from commit 3c300f9f8cffb5af32e291ec75007ab98fe96561)
source/Makefile.in
source/configure.in