configure.ac: factor out detection for old and buggy llvm
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 5 Oct 2017 10:19:04 +0000 (11:19 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 Oct 2017 11:56:12 +0000 (12:56 +0100)
commit98fdff7247b6877d028d33284f9cc63189ee204e
tree0be62da86dfc291fb0228b399abde437e30a5628
parent9032e2cdcc5e356bb343bbc64f5e8889827fbe28
configure.ac: factor out detection for old and buggy llvm

As of LLVM 3.9 one could use consistent ways to handle the component.
Factor out the current handling, as it will be used for older versions.

Cc: mesa-stable@lists.freedesktop.org
Cc: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Tobias Droste <tdroste@gmx.de>
configure.ac