summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThomas Munro2023-10-22 01:17:00 +0000
committerThomas Munro2023-10-22 01:22:11 +0000
commit5e4dacb9878cf71e32950e90993afd9450dab4da (patch)
tree491074e9357a069f3b18dfaeaa5f47af8d7a27d7 /config
parentdab889d60bac3fbf691973ca1770f2eb50547999 (diff)
Log LLVM library version in configure output.
When scanning build farm results, it's useful to be able to see which version is in use. For the Meson build system, this information was already displayed. Back-patch to all supported branches. Discussion: https://postgr.es/m/4022690.1697852728%40sss.pgh.pa.us
Diffstat (limited to 'config')
-rw-r--r--config/llvm.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/llvm.m4 b/config/llvm.m4
index 3a75cd8b4df..21d8cd4f90f 100644
--- a/config/llvm.m4
+++ b/config/llvm.m4
@@ -28,6 +28,7 @@ AC_DEFUN([PGAC_LLVM_SUPPORT],
if echo $pgac_llvm_version | $AWK -F '.' '{ if ([$]1 >= 4 || ([$]1 == 3 && [$]2 >= 9)) exit 1; else exit 0;}';then
AC_MSG_ERROR([$LLVM_CONFIG version is $pgac_llvm_version but at least 3.9 is required])
fi
+ AC_MSG_NOTICE([using llvm $pgac_llvm_version])
# need clang to create some bitcode files
AC_ARG_VAR(CLANG, [path to clang compiler to generate bitcode])