configure.ac: Update libtool versioning

In order for 1.x and 1.(x+1) versions to not invade on each other
we need to have different lib versions.

So we need a consistent and predictable scheme:
   library version number = MINOR * 100 + MICRO

Ex:
  1.0.0 => 0 (duh)
  1.0.3 => 3
  1.1.0 => 100
  1.1.1 => 101
  1.2.0 => 120
  1.10.5 => 1005
This commit is contained in:
Edward Hervey 2012-11-28 18:50:45 +01:00
parent b511f938d4
commit 8edd1443a8

View file

@ -47,8 +47,16 @@ dnl - library source changed -> increment REVISION
dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0
dnl - interfaces added -> increment AGE
dnl - interfaces removed -> AGE = 0
dnl
dnl Keep CURRENT as MINOR * 100 + MICRO
dnl Ex : 1.0.0 => 0
dnl 1.0.3 => 3
dnl 1.1.0 => 100
dnl 1.2.5 => 205
dnl 1.10.9 (who knows) => 1009
dnl
dnl sets GST_LT_LDFLAGS
AS_LIBTOOL(GST, 2, 0, 2)
AS_LIBTOOL(GST, 100, 0, 100)
dnl *** required versions of GStreamer stuff ***
GST_REQ=1.1.0