Home GnuPG

Add version macros and check function.
e6943de88627Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add version macros and check function.

* configure.ac (VERSION_NUMBER): New ac_subst.
(BUILD_FILEVERSION): Build on all platforms
(BUILD_TIMESTAMP): Try to use an ISO string.
* src/Makefile.am (extra-h.in): Add new version numbers.
* src/versioninfo.rc.in: Update copyright year.
* src/version.c: New.
(gpg_error_check_version): New API.
* src/gpg-error.h.in: Add gpg_error_check_version prototype.
* src/gpg-error.def.in: Add gpg_error_check_version
* tests/t-version.c: New.
* tests/Makefile.am (TESTS): Add t-version.c
* src/gpg-error-config.in: s/VERSION/PACKAGE_VERSION/.

All other GnuPG libraries do this, thus we do it here as well.

Details

Provenance
wernerAuthored on Feb 23 2013, 8:18 PM
Parents
rEb78200135ce1: Add string "Assuan" to all po files.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rEe6943de88627: Add version macros and check function. (authored by Werner Koch <wk@gnupg.org>).Feb 23 2013, 8:18 PM