configure.ac: Only add default LLVM components if needed
authorTobias Droste <tdroste@gmx.de>
Sat, 19 Nov 2016 01:39:09 +0000 (02:39 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 5 Dec 2016 14:43:47 +0000 (14:43 +0000)
commit45c8a4ea0a19f092c69ed9cd0f0a2cab81716d02
tree232116eb4a50976c69df09a64bc768461471e078
parenta8ae340f7e198f9a4b8b125a5e0e28c3be0f1237
configure.ac: Only add default LLVM components if needed

LLVM components are only added when LLVM is needed.
This means gallium adds this as soon as "--enable-gallium-llvm"
is "yes" and radv + opencl add it explicitly.

v5:
Removed hunk that disabled LLVM for gallium if it was not found.

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