[Mesa-dev] [PATCH] configure.ac: Avoid running llvm-config when it hadn't been checked for.

Marek Olšák maraeo at gmail.com
Wed Jun 15 07:19:21 PDT 2011


On Wed, Jun 15, 2011 at 3:50 PM, Cyril Brulebois <kibi at debian.org> wrote:
> If --disable-gallium is passed, llvm-config isn't checked for, so mark
> it explicitly as absent, through LLVM_CONFIG=no.
>
> Passing --disable-gallium would result in:
> | ../configure: line 9739: --version: command not found
> | ../configure: line 9740: --cppflags: command not found
> | ../configure: line 9741: --libs: command not found
> | ../configure: line 9743: --ldflags: command not found
>
> With this commit, one gets that instead:
> | configure: error: LLVM is required to build Gallium R300 on x86 and x86_64

That is fixed in my private branch (there are patches here on ML), so
you won't see the error if Gallium is disabled.

I've applied the patch locally and will push it with the rest of my
configure.ac patches. Thanks.

Marek


More information about the mesa-dev mailing list