[Commit] libpixregion configure.in,1.2,1.3

Carl Worth commit@keithp.com
Fri, 25 Apr 2003 13:21:44 -0700


Committed by: cworth

Update of /local/src/CVS/libpixregion
In directory home.keithp.com:/tmp/cvs-serv17691

Modified Files:
	configure.in 
Log Message:
Fixed libtool versioning

Index: configure.in
===================================================================
RCS file: /local/src/CVS/libpixregion/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- configure.in	22 Apr 2003 23:38:45 -0000	1.2
+++ configure.in	25 Apr 2003 20:21:42 -0000	1.3
@@ -4,16 +4,25 @@
 
 dnl ===========================================================================
 
-LIBPIXREGION_MAJOR_VERSION=0
-LIBPIXREGION_MINOR_VERSION=1
-LIBPIXREGION_MICRO_VERSION=0
-AC_SUBST(LIBPIXREGION_MAJOR_VERSION)
-AC_SUBST(LIBPIXREGION_MINOR_VERSION)
-AC_SUBST(LIBPIXREGION_MICRO_VERSION)
+# Package version number, (as distinct from shared library version)
+# This must be manually synchronized with the version in src/ic.h
+LIBPIXREGION_VERSION=0.1.0
 
-LIBPIXREGION_VERSION=$LIBPIXREGION_MAJOR_VERSION.$LIBPIXREGION_MINOR_VERSION.$LIBPIXREGION_MICRO_VERSION
+# libtool shared library version
 
-VERSION_INFO=`expr $LIBPIXREGION_MAJOR_VERSION + $LIBPIXREGION_MINOR_VERSION`:$LIBPIXREGION_MICRO_VERSION:$LIBPIXREGION_MINOR_VERSION
+# Increment if the interface has additions, changes, removals.
+LT_CURRENT=1
+
+# Increment any time the source changes; set to
+# 0 if you increment CURRENT
+LT_REVISION=0
+
+# Increment if any interfaces have been added; set to 0
+# if any interfaces have been removed. removal has
+# precedence over adding, so set to 0 if both happened.
+LT_AGE=0
+
+VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
 AC_SUBST(VERSION_INFO)
 
 dnl ===========================================================================