diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 500be7e491..92b8523023 100644 --- a/configure.ac +++ b/configure.ac @@ -637,6 +637,12 @@ AC_SUBST([LlvmVersion]) sUPPORTED_LLVM_VERSION=$(echo \($LlvmVersion\) | sed 's/\./,/') AC_DEFINE_UNQUOTED([sUPPORTED_LLVM_VERSION], ${sUPPORTED_LLVM_VERSION}, [The supported LLVM version number]) +dnl ** Which LLVM clang to use? +dnl -------------------------------------------------------------- +AC_CHECK_TARGET_TOOL([CLANG], [clang]) +ClangCmd="$CLANG" +AC_SUBST([ClangCmd]) + dnl ** Which LLVM llc to use? dnl -------------------------------------------------------------- FIND_LLVM_PROG([LLC], [llc], [$LlvmVersion]) @@ -1324,6 +1330,7 @@ echo "\ xelatex : $XELATEX Using LLVM tools + clang : $ClangCmd llc : $LlcCmd opt : $OptCmd" |