1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

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
This commit is contained in:
Dylan Noblesmith 2012-02-02 00:54:18 +00:00
parent 4927ff5c0b
commit aca6b66e00

View File

@ -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])