summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUGS1
-rw-r--r--ChangeLog4
-rw-r--r--configure.in24
-rw-r--r--src/Makefile.am2
4 files changed, 22 insertions, 9 deletions
diff --git a/BUGS b/BUGS
index 098a549aa..810a55d9b 100644
--- a/BUGS
+++ b/BUGS
@@ -1 +1,2 @@
SEGV if XrSetRGBColor is called before XrSetTargetDrawable
+SEGV if XrFill is called before XrSetRGBColor
diff --git a/ChangeLog b/ChangeLog
index 4c17bc2db..997394276 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-25 Carl Worth <cworth@east.isi.edu>
+
+ * configure.in: Fixed libtool versioning
+
2003-04-17 Carl Worth <cworth@isi.edu>
* Switched from imake to autotools.
diff --git a/configure.in b/configure.in
index c1ee45932..b99bc01c9 100644
--- a/configure.in
+++ b/configure.in
@@ -2,16 +2,24 @@ AC_INIT(src/Xr.h)
dnl ===========================================================================
-XR_MAJOR_VERSION=0
-XR_MINOR_VERSION=1
-XR_MICRO_VERSION=0
-AC_SUBST(XR_MAJOR_VERSION)
-AC_SUBST(XR_MINOR_VERSION)
-AC_SUBST(XR_MICRO_VERSION)
+# Package version number, (as distinct from shared library version)
+XR_VERSION=0.1.0
-XR_VERSION=$XR_MAJOR_VERSION.$XR_MINOR_VERSION.$XR_MICRO_VERSION
+# libtool shared library version
-VERSION_INFO=`expr $XR_MAJOR_VERSION + $XR_MINOR_VERSION`:$XR_MICRO_VERSION:$XR_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 ===========================================================================
diff --git a/src/Makefile.am b/src/Makefile.am
index 211ec1d12..682436d76 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,4 +24,4 @@ libXr_la_LDFLAGS = -version-info @VERSION_INFO@
INCLUDES = $(X_CFLAGS) $(XR_CFLAGS)
-ldadds = $(XR_LIBS)
+libXr_la_LIBADD = $(XR_LIBS)