summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiggi Langauf <siggi@users.sourceforge.net>2001-12-04 23:52:00 +0000
committerSiggi Langauf <siggi@users.sourceforge.net>2001-12-04 23:52:00 +0000
commit814d94cb28617fdafa195f8bdbd4c40db4ccc92a (patch)
treea52059ce453d624b2917a78f067862a830e05867
parent2d8f401337309e813af855ef811f614a3e79b8de (diff)
downloadxine-lib-814d94cb28617fdafa195f8bdbd4c40db4ccc92a.tar.gz
xine-lib-814d94cb28617fdafa195f8bdbd4c40db4ccc92a.tar.bz2
fixed library version info
WARNING: you'll have to rebuild xine-ui! CVS patchset: 1169 CVS date: 2001/12/04 23:52:00
-rw-r--r--configure.in22
1 files changed, 18 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 2567e21ab..d01c1b35f 100644
--- a/configure.in
+++ b/configure.in
@@ -40,10 +40,24 @@ AC_DEFINE_UNQUOTED(XINE_MAJOR, $XINE_MAJOR)
AC_DEFINE_UNQUOTED(XINE_MINOR, $XINE_MINOR)
AC_DEFINE_UNQUOTED(XINE_SUB, $XINE_SUB)
-LT_RELEASE=$XINE_MAJOR.$XINE_MINOR
-LT_CURRENT=`expr $XINE_SUB - $XINE_IFACE_AGE`
-LT_REVISION=$XINE_IFACE_AGE
-LT_AGE=`expr $XINE_BIN_AGE - $XINE_IFACE_AGE`
+## this is only for pre-1.0 releases (ie with unstable interface)
+LT_RELEASE=$XINE_MAJOR.$XINE_MINOR.$XINE_SUB
+LT_CURRENT=0
+LT_REVISION=0
+LT_AGE=0
+
+## non-devel releases should not use LT_RELEASE but something like this:
+##
+## LT_REVISION=$XINE_SUB
+## LT_CURRENT=`expr $XINE_MAJOR + $XINE_MINOR`
+## LT_AGE=$XINE_MINOR
+##
+## !! This only works if subminor releases don't have any interface changes,
+## !! minor releases _only add_ interfaces and major releases remove at least
+## !! one interface
+## otherwise, the LT_* variables must be set according to
+## <info:(libtool)Updating version info>
+
AC_SUBST(LT_RELEASE)
AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)