configure.ac: Mandate --enable-gallium-llvm when checking LLVM version
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 7 Feb 2017 16:24:44 +0000 (16:24 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 10 Feb 2017 11:47:23 +0000 (11:47 +0000)
commita66ffcd736459753a2c3ab73b6c47c66f621fd79
tree1d3e845eebe91513a7ee9119985079280615faa6
parent514a4944152d3d1a4ac54495388d302e7b7fe0b3
configure.ac: Mandate --enable-gallium-llvm when checking LLVM version

With this change we effectively require --enable-gallium-llvm when
building RADV. This should be perfectly safe since the gallium radeonsi
driver already explicitly requires it.

The "gallium" part in --enable-gallium-llvm is about to be removed soon
(not in stable), but until then make sure that things can build.

To reflect the requirement (as opposed to check previously) we rename
llvm_check_version_for to llvm_require_version

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