r600g: fix build without opencl and static llvm libs
authorMarc Dietrich <marvin24@gmx.de>
Mon, 27 Feb 2017 15:35:13 +0000 (16:35 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 1 Mar 2017 13:22:48 +0000 (13:22 +0000)
commit64b215223fb4e4559b30f9eb923c2860373a6e51
tree6c751db834621778cc892e9f608c493bc8c06dcc
parentbe8aa76afd2cc5326c9d9d59c591e06365c5f618
r600g: fix build without opencl and static llvm libs

radeon_llvm_check and friends were never called in the no-opencl case,
which ended up with an empty llvm module list. As --enable-opencl always
requires --enable-llvm, we can use the latter as the guard.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
[Emil Velikov: commit message polish]
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
configure.ac