summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2014-11-19 03:34:17 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2014-11-19 03:34:17 +0000
commit2dea1fe38dccda7744bd6efdda4d4a163f057c25 (patch)
tree6d037c16da39e17d6906012f7965233b7b02e470 /configure
parent8f4a49f41a595f92f0d96570640c95ed12b0d5e2 (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 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 597d119c2a2..4bfc2e595d3 100755
--- a/configure
+++ b/configure
@@ -1941,6 +1941,11 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
+cat >>confdefs.h <<_ACEOF
+#define LLVM_VERSION_STRING "$PACKAGE_VERSION"
+_ACEOF
+
+