summaryrefslogtreecommitdiffstats
path: root/llvm/configure
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2012-02-04 02:41:36 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2012-02-04 02:41:36 +0000
commite21a3b20e51b9ddd8c5165f46ae9c70773035593 (patch)
treecf41942573c62a78d4bd4677da093263caaeb7ba /llvm/configure
parent35952f82bd6cae6bbec3c73604ceb03d2bc0ce4b (diff)
downloadbcm5719-llvm-e21a3b20e51b9ddd8c5165f46ae9c70773035593.tar.gz
bcm5719-llvm-e21a3b20e51b9ddd8c5165f46ae9c70773035593.zip
autoconf: fix clang detection
Now this works with and without --with-clang-srcdir, with and without an out-of-tree build. llvm-svn: 149749
Diffstat (limited to 'llvm/configure')
-rwxr-xr-xllvm/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/configure b/llvm/configure
index 2c99b4f2216..0c166389e1e 100755
--- a/llvm/configure
+++ b/llvm/configure
@@ -21051,7 +21051,7 @@ ac_config_files="$ac_config_files llvm.spec"
ac_config_files="$ac_config_files docs/doxygen.cfg"
-if test ${clang_src_root} = ""; then
+if test "${clang_src_root}" = ""; then
clang_src_root="$srcdir/tools/clang"
fi
if test -f ${clang_src_root}/README.txt; then
OpenPOWER on IntegriCloud