File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,22 @@ AM_PROG_AR
1414# Initialise libtools:
1515LT_INIT
1616
17+ # The version of the libtool library is of the form current:revision:age
18+ #
19+ # When doing a release, they should be updated like this:
20+ # 1. If no interfaces changed, only implementations: just increment
21+ # revision.
22+ # 2. If interfaces were added, none removed: increment current, set
23+ # revision to zero and increment age.
24+ # 3. If interfaces were removed (breaks backward compatibility): increment
25+ # current, and set both revision and age to zero.
26+ LT_CURRENT=1
27+ LT_REVISION=0
28+ LT_AGE=0
29+ AC_SUBST ( LT_CURRENT )
30+ AC_SUBST ( LT_REVISION )
31+ AC_SUBST ( LT_AGE )
32+
1733# Checks for programs:
1834AC_PROG_CXX
1935AC_PROG_CC
Original file line number Diff line number Diff line change @@ -37,6 +37,6 @@ DOTCCS = $(PROCS_DOTCCS) $(QCURVES_DOTCCS) $(QRANK_DOTCCS) $(G0N_DOTCCS)
3737EXTRA_DIST = vec.cc mat.cc sub.cc smat.cc svec.cc smat_elim.cc random.cc
3838
3939libec_la_SOURCES = $(DOTCCS )
40- libec_la_LDFLAGS = -no-undefined $(AM_LDFLAGS )
40+ libec_la_LDFLAGS = -no-undefined $(AM_LDFLAGS ) -version-info @LT_CURRENT@:@LT_REVISION@:@LT_AGE@
4141nobase_include_HEADERS = $(DOTHS )
4242ACLOCAL_AMFLAGS = -I m4
You can’t perform that action at this time.
0 commit comments