Make sure $CFG_LLVM_CONFIG is set to $CFG_LLVM_ROOT/bin/llvm-config

On my machine I have two LLVM builds, one of regular HEAD and one
for Rust in ~/rust-llvm - by default CFG_LLVM_CONFIG is set to
/usr/local/bin/llvm-config which is wrong, because the probe for it
initially happens earlier in configure and succeeds (so putvar is called.)

This causes it to be emitted twice into the Makefile but the second
instance wins.
This commit is contained in:
Austin Seipp 2011-10-23 01:01:53 -05:00
parent b916c57021
commit 5ccf372755
1 changed files with 1 additions and 0 deletions

1
configure vendored
View File

@ -371,6 +371,7 @@ putvar CFG_C_COMPILER
putvar CFG_PREFIX
putvar CFG_LLVM_ROOT
putvar CFG_LLVM_CONFIG
putvar CFG_LLVM_INCDIR
putvar CFG_LLVM_BINDIR
putvar CFG_LLVM_LIBDIR