diff options
author | lloyd <[email protected]> | 2011-06-30 16:53:22 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-06-30 16:53:22 +0000 |
commit | b16bd4ad156f954dbcd4299e298765eececac19d (patch) | |
tree | b8a88bd8c225d6f5fe5a45c12cff9f48571d4585 /src | |
parent | edc9ad3a1f0ecf32a49ad44866172398079aa184 (diff) |
Tick to 1.10.1 unreleased.
Try to detect the mtn revision (by shelling out to mtn automate), and
including it in build.h as BOTAN_VERSION_VC_REVISION.
Diffstat (limited to 'src')
-rw-r--r-- | src/build-data/buildh.in | 2 | ||||
-rw-r--r-- | src/utils/version.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in index 733646524..b3e6f8197 100644 --- a/src/build-data/buildh.in +++ b/src/build-data/buildh.in @@ -17,6 +17,8 @@ #define BOTAN_VERSION_PATCH %{version_patch} #define BOTAN_VERSION_DATESTAMP %{version_datestamp} +#define BOTAN_VERSION_VC_REVISION "%{version_vc_rev}" + #define BOTAN_DISTRIBUTION_INFO "%{distribution_info}" #ifndef BOTAN_DLL diff --git a/src/utils/version.cpp b/src/utils/version.cpp index cf3205d19..acc8bee61 100644 --- a/src/utils/version.cpp +++ b/src/utils/version.cpp @@ -33,6 +33,7 @@ std::string version_string() else out << "released " << version_datestamp(); + out << ", revision " << BOTAN_VERSION_VC_REVISION; out << ", distribution " << BOTAN_DISTRIBUTION_INFO << ")"; return out.str(); |