configure.ac: Set and use HAVE_GALLIUM_LLVM define
authorTobias Droste <tdroste@gmx.de>
Thu, 8 Dec 2016 02:03:38 +0000 (03:03 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 18 Jan 2017 13:23:01 +0000 (13:23 +0000)
commit4d0efb9683856cada2f34b124c77ef20a2fe0332
tree0818a39a2c623d60a41dc6c93b45b61e9f51c014
parentb045d23c0b804074a7fbc849d7098d51056ccb6b
configure.ac: Set and use HAVE_GALLIUM_LLVM define

Gallium code used HAVE_LLVM to check if it needs to compile code for
LLVM in header and source files.

With the new logic HAVE_LLVM is always set. Use extra define to figure
out if LLVM is used.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99010

Signed-off-by: Tobias Droste <tdroste@gmx.de>
configure.ac
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_context.h
src/gallium/auxiliary/draw/draw_pt.c
src/gallium/auxiliary/draw/draw_vs.c
src/gallium/auxiliary/draw/draw_vs.h