From 42634836e999dfcb59f1f5ea50dfd33442be4b9a Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 16 Sep 2011 20:36:16 +0000 Subject: Have the llvm configure process look for clang, then llvm-gcc, and then gcc on all platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139934 91177308-0d34-0410-b5e6-96231b3b80d8 --- autoconf/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autoconf') diff --git a/autoconf/configure.ac b/autoconf/configure.ac index f3e94e89dfb..7097a4238e3 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -967,8 +967,8 @@ dnl===-----------------------------------------------------------------------=== dnl Check for compilation tools AC_PROG_CPP -AC_PROG_CC(gcc) -AC_PROG_CXX(g++) +AC_PROG_CC(clang llvm-gcc gcc) +AC_PROG_CXX(clang++ llvm-g++ g++) AC_PROG_NM AC_SUBST(NM) -- cgit v1.2.3