llvm.org GIT mirror llvm / 5b45789
llvm-gcc is dead. REALLY. IT'S DEAD JIM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199178 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 5 years ago
2 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
6565
6666 dnl We need to check for the compiler up here to avoid anything else
6767 dnl starting with a different one.
68 AC_PROG_CC(clang llvm-gcc gcc)
69 AC_PROG_CXX(clang++ llvm-g++ g++)
68 AC_PROG_CC(clang gcc)
69 AC_PROG_CXX(clang++ g++)
7070 AC_PROG_CPP
7171
7272 dnl If CXX is Clang, check that it can find and parse C++ standard library
19991999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20002000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20012001 if test -n "$ac_tool_prefix"; then
2002 for ac_prog in clang llvm-gcc gcc
2002 for ac_prog in clang gcc
20032003 do
20042004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20052005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20432043 fi
20442044 if test -z "$CC"; then
20452045 ac_ct_CC=$CC
2046 for ac_prog in clang llvm-gcc gcc
2046 for ac_prog in clang gcc
20472047 do
20482048 # Extract the first word of "$ac_prog", so it can be a program name with args.
20492049 set dummy $ac_prog; ac_word=$2
28072807 CXX=$CCC
28082808 else
28092809 if test -n "$ac_tool_prefix"; then
2810 for ac_prog in clang++ llvm-g++ g++
2810 for ac_prog in clang++ g++
28112811 do
28122812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
28132813 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
28512851 fi
28522852 if test -z "$CXX"; then
28532853 ac_ct_CXX=$CXX
2854 for ac_prog in clang++ llvm-g++ g++
2854 for ac_prog in clang++ g++
28552855 do
28562856 # Extract the first word of "$ac_prog", so it can be a program name with args.
28572857 set dummy $ac_prog; ac_word=$2