From: Hubert F. <hfi...@us...> - 2006-01-04 01:42:00
|
Update of /cvsroot/libexif/libexif In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8530 Modified Files: configure.ac Log Message: fix a mistake in the interpretation of CURRENT:AGE:REVISION meaning that could lead to mis-versioning of the libraries. Index: configure.ac =================================================================== RCS file: /cvsroot/libexif/libexif/configure.ac,v retrieving revision 1.13 retrieving revision 1.14 diff -u -p -d -r1.13 -r1.14 --- configure.ac 27 Dec 2005 21:30:11 -0000 1.13 +++ configure.ac 4 Jan 2006 01:41:03 -0000 1.14 @@ -30,20 +30,27 @@ dnl http://navi.cx/~mike/writing dnl * libtool.info chapter "Versioning" dnl --------------------------------------------------------------------------- dnl Versioning: +dnl - CURRENT (Major): Increment if the interface has changes. AGE is always +dnl *changed* at the same time. dnl - AGE (Micro): Increment if any interfaces have been added; set to 0 dnl if any interfaces have been removed. Removal has dnl precedence over adding, so set to 0 if both happened. +dnl It denotes upward compatibility. dnl - REVISION (Minor): Increment any time the source changes; set to dnl 0 if you incremented CURRENT. -dnl - CURRENT (Major): Increment if the interface has changes or removals. +dnl +dnl To summarize. Any interface *change* increment CURRENT. If that interface +dnl change does not break upward compatibility (ie it is an addition), +dnl increment AGE, Otherwise AGE is reset to 0. If CURRENT has changed, +dnl REVISION is set to 0, otherwise REVISION is incremented. dnl --------------------------------------------------------------------------- -LIBEXIF_AGE=1 -LIBEXIF_REVISION=0 +LIBEXIF_AGE=0 +LIBEXIF_REVISION=1 LIBEXIF_CURRENT=12 AC_SUBST([LIBEXIF_AGE]) AC_SUBST([LIBEXIF_REVISION]) AC_SUBST([LIBEXIF_CURRENT]) -LIBEXIF_VERSION_INFO=`expr $LIBEXIF_CURRENT + $LIBEXIF_REVISION`:$LIBEXIF_AGE:$LIBEXIF_REVISION +LIBEXIF_VERSION_INFO=$LIBEXIF_CURRENT:$LIBEXIF_REVISION:$LIBEXIF_AGE AC_SUBST([LIBEXIF_VERSION_INFO]) AC_PROG_CC |