llvm.org GIT mirror llvm / 965a166
autoconf: put generated clang files in build dir It was writing generated files to the clang srcdir when '--with-clang-srcdir' was specified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149756 91177308-0d34-0410-b5e6-96231b3b80d8 Dylan Noblesmith 7 years ago
2 changed file(s) with 12 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
15731573 clang_src_root="$srcdir/tools/clang"
15741574 fi
15751575 if test -f ${clang_src_root}/README.txt; then
1576 AC_CONFIG_HEADERS([${clang_src_root}/include/clang/Config/config.h])
1577 AC_CONFIG_FILES([${clang_src_root}/docs/doxygen.cfg])
1576 dnl Use variables to stay under 80 columns.
1577 configh="include/clang/Config/config.h"
1578 doxy="docs/doxygen.cfg"
1579 AC_CONFIG_HEADERS([tools/clang/${configh}:${clang_src_root}/${configh}.in])
1580 AC_CONFIG_FILES([tools/clang/${doxy}:${clang_src_root}/${doxy}.in])
15781581 fi
15791582
15801583 dnl OCaml findlib META file
2105421054 clang_src_root="$srcdir/tools/clang"
2105521055 fi
2105621056 if test -f ${clang_src_root}/README.txt; then
21057 ac_config_headers="$ac_config_headers ${clang_src_root}/include/clang/Config/config.h"
21058
21059 ac_config_files="$ac_config_files ${clang_src_root}/docs/doxygen.cfg"
21057 configh="include/clang/Config/config.h"
21058 doxy="docs/doxygen.cfg"
21059 ac_config_headers="$ac_config_headers tools/clang/${configh}:${clang_src_root}/${configh}.in"
21060
21061 ac_config_files="$ac_config_files tools/clang/${doxy}:${clang_src_root}/${doxy}.in"
2106021062
2106121063 fi
2106221064
2167821680 "Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
2167921681 "llvm.spec") CONFIG_FILES="$CONFIG_FILES llvm.spec" ;;
2168021682 "docs/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES docs/doxygen.cfg" ;;
21681 "${clang_src_root}/include/clang/Config/config.h") CONFIG_HEADERS="$CONFIG_HEADERS ${clang_src_root}/include/clang/Config/config.h" ;;
21682 "${clang_src_root}/docs/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES ${clang_src_root}/docs/doxygen.cfg" ;;
21683 "tools/clang/${configh}") CONFIG_HEADERS="$CONFIG_HEADERS tools/clang/${configh}:${clang_src_root}/${configh}.in" ;;
21684 "tools/clang/${doxy}") CONFIG_FILES="$CONFIG_FILES tools/clang/${doxy}:${clang_src_root}/${doxy}.in" ;;
2168321685 "bindings/ocaml/llvm/META.llvm") CONFIG_FILES="$CONFIG_FILES bindings/ocaml/llvm/META.llvm" ;;
2168421686 "setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
2168521687 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;