summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2012-02-02 00:54:18 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2012-02-02 00:54:18 +0000
commita367022ce707107313d9144a25615f259d645473 (patch)
tree78b9aa92bf02241837d7a1b57b5b3a954b68ab42
parent17612b1dbf4257c2378557319d6d2c8985134d05 (diff)
downloadbcm5719-llvm-a367022ce707107313d9144a25615f259d645473.tar.gz
bcm5719-llvm-a367022ce707107313d9144a25615f259d645473.zip
autoconf: fix build/src dir confusion
This was the cause of the silent failure to generate clang's config.h. My bad. Fix on r149563 / r149568. llvm-svn: 149574
-rw-r--r--llvm/autoconf/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index c9757d9ff7b..6316be9c527 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/autoconf/configure.ac
@@ -1589,7 +1589,7 @@ AC_CONFIG_FILES([docs/doxygen.cfg])
dnl Configure clang, if present
if test ${clang_src_root} = ""; then
- clang_src_root="$ac_pwd/tools/clang"
+ clang_src_root="$srcdir/tools/clang"
fi
if test -f ${clang_src_root}/README.txt; then
AC_CONFIG_HEADERS([${clang_src_root}/include/clang/Config/config.h])
OpenPOWER on IntegriCloud