diff options
author | Werner Koch <wk@gnupg.org> | 2013-03-18 15:31:34 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2013-03-20 15:55:23 +0100 |
commit | 1eaad0a8c4cab227685a6a8768e539df2f1f4dac (patch) | |
tree | 56ffd1f96b896fbb4c585cac13e9a03d6ae21bb8 /compat | |
parent | de07974d807b703a2554d6ba885ea249e648bd44 (diff) | |
download | libgcrypt-1eaad0a8c4cab227685a6a8768e539df2f1f4dac.tar.gz |
Provide GCRYPT_VERSION_NUMBER macro, add build info to the binary.
* src/gcrypt.h.in (GCRYPT_VERSION_NUMBER): New.
* configure.ac (VERSION_NUMBER): New ac_subst.
* src/global.c (_gcry_vcontrol): Move call to above function ...
(gcry_check_version): .. here.
* configure.ac (BUILD_REVISION, BUILD_FILEVERSION)
(BUILD_TIMESTAMP): Define on all platforms.
* compat/compat.c (_gcry_compat_identification): Include revision and
timestamp.
Diffstat (limited to 'compat')
-rw-r--r-- | compat/compat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/compat.c b/compat/compat.c index 96889d32..d2591304 100644 --- a/compat/compat.c +++ b/compat/compat.c @@ -30,6 +30,9 @@ _gcry_compat_identification (void) "This is Libgcrypt " PACKAGE_VERSION " - The GNU Crypto Library\n" "Copyright 2000, 2002, 2003, 2004, 2007, 2008, 2009,\n" " 2010, 2011, 2012 Free Software Foundation, Inc.\n" + "Copyright 2012, 2013 g10 Code GmbH\n" + "\n" + "(" BUILD_REVISION " " BUILD_TIMESTAMP ")\n" "\n\n"; return blurb; } |