configure.ac: Get complete LLVM version from header
authorTobias Droste <tdroste@gmx.de>
Sat, 19 Nov 2016 01:39:11 +0000 (02:39 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 5 Dec 2016 14:43:47 +0000 (14:43 +0000)
commita66cd76b16cf561c102314a6ee021727c03e52f7
tree11da1e4d31e1135ff269618c8a61ee236bd8e737
parent5db89531bcb6c0d89032da7f9af5a6dac17020cb
configure.ac: Get complete LLVM version from header

Major and minor version are included in the header file since LLVM
version 3.1.0. Since the minimal required version is 3.3.0 we can
remove the workaround if no values for major/minor were found in the
header.

Since LLVM 3.6.0 the patch version is inside the header file of LLVM.
Only radeon drivers need the patch version and they depend on
LLVM >= 3.6.0, so this is safe too.

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
configure.ac