diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2014-11-19 03:34:17 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2014-11-19 03:34:17 +0000 |
commit | 2dea1fe38dccda7744bd6efdda4d4a163f057c25 (patch) | |
tree | 6d037c16da39e17d6906012f7965233b7b02e470 /autoconf | |
parent | 8f4a49f41a595f92f0d96570640c95ed12b0d5e2 (diff) |
Expose LLVM version string via macro in llvm-config.h, and modify Go bindings
to make use of it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 31d462b424..ca6d710e7d 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -42,6 +42,7 @@ LLVM_VERSION_SUFFIX=svn AC_DEFINE_UNQUOTED([LLVM_VERSION_MAJOR], $LLVM_VERSION_MAJOR, [Major version of the LLVM API]) AC_DEFINE_UNQUOTED([LLVM_VERSION_MINOR], $LLVM_VERSION_MINOR, [Minor version of the LLVM API]) AC_DEFINE_UNQUOTED([LLVM_VERSION_PATCH], $LLVM_VERSION_PATCH, [Patch version of the LLVM API]) +AC_DEFINE_UNQUOTED([LLVM_VERSION_STRING], "$PACKAGE_VERSION", [LLVM version string]) AC_SUBST([LLVM_VERSION_MAJOR]) AC_SUBST([LLVM_VERSION_MINOR]) |