llvm.org GIT mirror llvm / 1084c33
Add an exposed variable for which c++ compiler we're using for our build. Patch by Chris Bieneman! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245255 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 4 years ago
2 changed file(s) with 8 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
132132 llvm_cv_cxx_compiler=gcc, [])])
133133 AC_LANG_POP([C++])
134134 AC_MSG_RESULT([${llvm_cv_cxx_compiler}])
135 AC_SUBST(CXX_COMPILER,$llvm_cv_cxx_compiler)
135136
136137 dnl Configure all of the projects present in our source tree. While we could
137138 dnl just AC_CONFIG_SUBDIRS on the set of directories in projects that have a
654654 CXXFLAGS
655655 ac_ct_CXX
656656 CPP
657 CXX_COMPILER
657658 subdirs
658659 ENABLE_POLLY
659660 LLVM_HAS_POLLY
37513752
37523753 { echo "$as_me:$LINENO: result: ${llvm_cv_cxx_compiler}" >&5
37533754 echo "${ECHO_T}${llvm_cv_cxx_compiler}" >&6; }
3755 CXX_COMPILER=$llvm_cv_cxx_compiler
3756
37543757
37553758
37563759
1849718500 CXXFLAGS!$CXXFLAGS$ac_delim
1849818501 ac_ct_CXX!$ac_ct_CXX$ac_delim
1849918502 CPP!$CPP$ac_delim
18503 CXX_COMPILER!$CXX_COMPILER$ac_delim
1850018504 subdirs!$subdirs$ac_delim
1850118505 ENABLE_POLLY!$ENABLE_POLLY$ac_delim
1850218506 LLVM_HAS_POLLY!$LLVM_HAS_POLLY$ac_delim
1854018544 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
1854118545 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
1854218546 ENABLE_ABI_BREAKING_CHECKS!$ENABLE_ABI_BREAKING_CHECKS$ac_delim
18543 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
1854418547 _ACEOF
1854518548
1854618549 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
1858218585 ac_delim='%!_!# '
1858318586 for ac_last_try in false false false false false :; do
1858418587 cat >conf$$subs.sed <<_ACEOF
18588 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
1858518589 DEBUG_SYMBOLS!$DEBUG_SYMBOLS$ac_delim
1858618590 KEEP_SYMBOLS!$KEEP_SYMBOLS$ac_delim
1858718591 JIT!$JIT$ac_delim
1867818682 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
1867918683 MMAP_FILE!$MMAP_FILE$ac_delim
1868018684 SHLIBEXT!$SHLIBEXT$ac_delim
18681 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
1868218685 _ACEOF
1868318686
1868418687 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
1872018723 ac_delim='%!_!# '
1872118724 for ac_last_try in false false false false false :; do
1872218725 cat >conf$$subs.sed <<_ACEOF
18726 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
1872318727 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
1872418728 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
1872518729 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
1874018744 LTLIBOBJS!$LTLIBOBJS$ac_delim
1874118745 _ACEOF
1874218746
18743 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 18; then
18747 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
1874418748 break
1874518749 elif $ac_last_try; then
1874618750 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5