From 5ccf3727556f69e0feddab927e286d5423f11fa9 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Sun, 23 Oct 2011 01:01:53 -0500 Subject: [PATCH] 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. --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 03ce6a48df0..7158a832e09 100755 --- a/configure +++ b/configure @@ -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