llvm.org GIT mirror llvm / 3e82b4a
autoconf: fix clang detection Now this works with and without --with-clang-srcdir, with and without an out-of-tree build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149749 91177308-0d34-0410-b5e6-96231b3b80d8 Dylan Noblesmith 7 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
15691569 AC_CONFIG_FILES([docs/doxygen.cfg])
15701570
15711571 dnl Configure clang, if present
1572 if test ${clang_src_root} = ""; then
1572 if test "${clang_src_root}" = ""; then
15731573 clang_src_root="$srcdir/tools/clang"
15741574 fi
15751575 if test -f ${clang_src_root}/README.txt; then
2105021050 ac_config_files="$ac_config_files docs/doxygen.cfg"
2105121051
2105221052
21053 if test ${clang_src_root} = ""; then
21053 if test "${clang_src_root}" = ""; then
2105421054 clang_src_root="$srcdir/tools/clang"
2105521055 fi
2105621056 if test -f ${clang_src_root}/README.txt; then