[CELT-dev] [PATCH] Add reminder for libtool version-info

thorvald at natvig.com thorvald at natvig.com
Mon Nov 30 22:01:36 PST 2009


From: Thorvald Natvig <slicer at users.sourceforge.net>

---
 configure.ac |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4f13d7e..3589830 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,7 +10,19 @@ CELT_MICRO_VERSION=0
 CELT_EXTRA_VERSION=
 CELT_VERSION=$CELT_MAJOR_VERSION.$CELT_MINOR_VERSION.$CELT_MICRO_VERSION$CELT_EXTRA_VERSION
 
-CELT_LT_CURRENT=0
+# See http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
+# if (no_api_changes) {
+#   CELT_LT_REVISION++;
+# } else {
+#   CELT_LT_CURRENT++;
+#   CELT_LT_REVISION=0;
+#   if (changes_break_or_remove_old_apis) 
+#     CELT_LT_AGE=0;
+#   else /* Only new APIs or backwards-compatible changes */
+#     CELT_LT_AGE++;
+# }
+
+CELT_LT_CURRENT=1
 CELT_LT_REVISION=0
 CELT_LT_AGE=0
 
-- 
1.6.4




More information about the celt-dev mailing list