configure.ac: add llvm_add_optional_component helper
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 5 Oct 2017 10:19:07 +0000 (11:19 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 Oct 2017 11:56:13 +0000 (12:56 +0100)
commit36d6d1e931936a80da327889862ba02942ac427b
tree27dc8d26175849e5e1750b05e7c43fa9f23b7b6d
parenta7ecf7b86f4eae59f3ceac2125e5d1725c403c07
configure.ac: add llvm_add_optional_component helper

We want to add "optional" components, which have been added with later
LLVM versions.

One such in-tree example is inteljitevents. Others are to follow
shortly.

v2: Use the correct function, add blank line between functions (Tobias)

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