mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-04 04:19:25 +00:00
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
This commit is contained in:
@@ -1574,8 +1574,11 @@ if test "${clang_src_root}" = ""; then
|
|||||||
clang_src_root="$srcdir/tools/clang"
|
clang_src_root="$srcdir/tools/clang"
|
||||||
fi
|
fi
|
||||||
if test -f ${clang_src_root}/README.txt; then
|
if test -f ${clang_src_root}/README.txt; then
|
||||||
AC_CONFIG_HEADERS([${clang_src_root}/include/clang/Config/config.h])
|
dnl Use variables to stay under 80 columns.
|
||||||
AC_CONFIG_FILES([${clang_src_root}/docs/doxygen.cfg])
|
configh="include/clang/Config/config.h"
|
||||||
|
doxy="docs/doxygen.cfg"
|
||||||
|
AC_CONFIG_HEADERS([tools/clang/${configh}:${clang_src_root}/${configh}.in])
|
||||||
|
AC_CONFIG_FILES([tools/clang/${doxy}:${clang_src_root}/${doxy}.in])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl OCaml findlib META file
|
dnl OCaml findlib META file
|
||||||
|
10
configure
vendored
10
configure
vendored
@@ -21055,9 +21055,11 @@ if test "${clang_src_root}" = ""; then
|
|||||||
clang_src_root="$srcdir/tools/clang"
|
clang_src_root="$srcdir/tools/clang"
|
||||||
fi
|
fi
|
||||||
if test -f ${clang_src_root}/README.txt; then
|
if test -f ${clang_src_root}/README.txt; then
|
||||||
ac_config_headers="$ac_config_headers ${clang_src_root}/include/clang/Config/config.h"
|
configh="include/clang/Config/config.h"
|
||||||
|
doxy="docs/doxygen.cfg"
|
||||||
|
ac_config_headers="$ac_config_headers tools/clang/${configh}:${clang_src_root}/${configh}.in"
|
||||||
|
|
||||||
ac_config_files="$ac_config_files ${clang_src_root}/docs/doxygen.cfg"
|
ac_config_files="$ac_config_files tools/clang/${doxy}:${clang_src_root}/${doxy}.in"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -21679,8 +21681,8 @@ do
|
|||||||
"Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
|
"Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
|
||||||
"llvm.spec") CONFIG_FILES="$CONFIG_FILES llvm.spec" ;;
|
"llvm.spec") CONFIG_FILES="$CONFIG_FILES llvm.spec" ;;
|
||||||
"docs/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES docs/doxygen.cfg" ;;
|
"docs/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES docs/doxygen.cfg" ;;
|
||||||
"${clang_src_root}/include/clang/Config/config.h") CONFIG_HEADERS="$CONFIG_HEADERS ${clang_src_root}/include/clang/Config/config.h" ;;
|
"tools/clang/${configh}") CONFIG_HEADERS="$CONFIG_HEADERS tools/clang/${configh}:${clang_src_root}/${configh}.in" ;;
|
||||||
"${clang_src_root}/docs/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES ${clang_src_root}/docs/doxygen.cfg" ;;
|
"tools/clang/${doxy}") CONFIG_FILES="$CONFIG_FILES tools/clang/${doxy}:${clang_src_root}/${doxy}.in" ;;
|
||||||
"bindings/ocaml/llvm/META.llvm") CONFIG_FILES="$CONFIG_FILES bindings/ocaml/llvm/META.llvm" ;;
|
"bindings/ocaml/llvm/META.llvm") CONFIG_FILES="$CONFIG_FILES bindings/ocaml/llvm/META.llvm" ;;
|
||||||
"setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
|
"setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
|
||||||
"Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
|
"Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
|
||||||
|
Reference in New Issue
Block a user