Detect LLVM 7 without specifying binaries explicitly.
authorAndres Freund <[email protected]>
Thu, 13 Sep 2018 17:41:39 +0000 (10:41 -0700)
committerAndres Freund <[email protected]>
Thu, 13 Sep 2018 17:42:13 +0000 (10:42 -0700)
commit99ba795d982efe2305d94573f2f4594bedaf6eab
treea0acd6dfdcbf2d7e10a755b7a0315ed879716b0b
parentff4220ead2c833fb36e9709ab2568c6ac43e9d3b
Detect LLVM 7 without specifying binaries explicitly.

Before this commit LLVM 7 was supported, but only if one explicitly
provided LLVM_CONFIG= and CLANG= paths.  As LLVM 7 is the first
version that includes our upstreamed debugging and profiling features,
and as debian is planning to default to 7 due to wider architecture
support, it seems good to support auto-detecting that version.

Author: Christoph Berg
Discussion: https://postgr.es/m/20180912124517[email protected]
Backpatch: 11, where LLVM was introduced
config/llvm.m4
configure