--- libgig/trunk/configure.in 2004/07/02 19:37:09 168 +++ libgig/trunk/configure.in 2004/07/07 12:03:54 186 @@ -1,7 +1,29 @@ AC_INIT(configure.in) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(libgig, 0.7.1) +AM_INIT_AUTOMAKE(libgig, 0.7.1, cuse@users.sourceforge.net) +AC_PROG_LIBTOOL + + +#------------------------------------------------------------------------------------ +# Rules for library version information: +# +# 1. Start with version information of `0:0:0' for each libtool library. +# 2. Update the version information only immediately before a public release of +# your software. More frequent updates are unnecessary, and only guarantee +# that the current interface number gets larger faster. +# 3. If the library source code has changed at all since the last update, then +# increment revision (`c:r:a' becomes `c:r+1:a'). +# 4. If any interfaces have been added, removed, or changed since the last update, +# increment current, and set revision to 0. +# 5. If any interfaces have been added since the last public release, then increment +# age. +# 6. If any interfaces have been removed since the last public release, then set age +# to 0. + +# we wait to bump the version until the next point release +SHARED_VERSION_INFO="0:0:0" + AC_C_BIGENDIAN @@ -9,4 +31,7 @@ AC_PROG_CXX AM_PROG_LIBTOOL -AC_OUTPUT(Makefile src/Makefile libgig.spec libgig.pc Doxyfile) +AC_SUBST(SHLIB_VERSION_ARG) +AC_SUBST(SHARED_VERSION_INFO) + +AC_OUTPUT(Makefile doc/Makefile man/Makefile src/Makefile libgig.spec libgig.pc Doxyfile)