move library versioning from configure.ac, to teh Makefile.am, so
authorellson <devnull@localhost>
Wed, 18 Feb 2009 16:14:11 +0000 (16:14 +0000)
committerellson <devnull@localhost>
Wed, 18 Feb 2009 16:14:11 +0000 (16:14 +0000)
that libraries can have their .so versions bumped independantly

lib/agraph/Makefile.am

index 60c59f67d17e1dae490dd779be7d3d59d2fe40c5..fe6ed34a5533036708c516382d8b7fefd89941c5 100644 (file)
@@ -1,6 +1,8 @@
 # $Id$ $Revision$ 
 ## Process this file with automake to produce Makefile.in
 
+AGRAPH_VERSION="4:0:0"
+
 pdfdir = $(pkgdatadir)/doc/pdf
 pkgconfigdir = $(libdir)/pkgconfig
 
@@ -24,7 +26,7 @@ libagraph_C_la_SOURCES = agerror.c apply.c attr.c \
        mem.c node.c obj.c pend.c rec.c refstr.c scan.l subg.c \
        utils.c write.c
 
-libagraph_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+libagraph_la_LDFLAGS = -version-info $(AGRAPH_VERSION) -no-undefined
 libagraph_la_SOURCES = $(libagraph_C_la_SOURCES)
 libagraph_la_LIBADD = $(top_builddir)/lib/cdt/libcdt.la