-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include a useful version number on installed shared libraries
Prompted by Ole Streicher for use with the Debian AST package. It uses the numering scheme described at https://phab.enlightenment.org/w/autotoolsintegration/ under "Versioning of the shared library"? That is: soname_current = package_minor + package_major soname_revision = package_micro soname_age = package_minor
- Loading branch information
Showing
4 changed files
with
24 additions
and
1,579 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,20 @@ dnl 1.5. It should work with autoconf versions 2.50 or better, and | |
dnl automake 1.6 or better. | ||
|
||
dnl Initialisation: package name and version number | ||
AC_INIT([ast],[9.0.0],[[email protected]]) | ||
m4_define([v_maj], [9]) | ||
m4_define([v_min], [0]) | ||
m4_define([v_mic], [1]) | ||
m4_define([project_version], [v_maj.v_min.v_mic]) | ||
AC_INIT([ast],[project_version],[[email protected]]) | ||
AC_CONFIG_AUX_DIR([build-aux]) | ||
|
||
dnl Shared library versioning | ||
m4_define([lt_cur], [m4_eval(v_maj + v_min)]) | ||
m4_define([lt_rev], [v_mic]) | ||
m4_define([lt_age], [v_min]) | ||
version_info="lt_cur:lt_rev:lt_age" | ||
AC_SUBST([version_info]) | ||
|
||
dnl Require autoconf-2.50 at least | ||
AC_PREREQ([2.69]) | ||
dnl Require Starlink automake | ||
|
Oops, something went wrong.