configure.ac: move enable-gallium-llvm dependency with-gallium-drivers
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 7 Feb 2017 21:59:14 +0000 (21:59 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 10 Feb 2017 11:47:23 +0000 (11:47 +0000)
commit5869a7db75a144ae898dafe9d9b7cb9d6ae29e12
tree3569cf36e356739b5de0accab04fb917be0faf02
parenta66ffcd736459753a2c3ab73b6c47c66f621fd79
configure.ac: move enable-gallium-llvm dependency with-gallium-drivers

... to where it's applicable.

Since we effectively made --enable-gallium-llvm mean --enable-llvm with
earlier commits, we need to move the requirement to guard the compnents
added for the LLVM draw.

Otherwise we'll error (as below) when building RADV w/o gallium drivers.

configure: error: --enable-gallium-llvm is required when building radv

v2: Don't remove but move the dependency (Tobias).

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