summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-09-16 20:36:16 +0000
committerEric Christopher <echristo@apple.com>2011-09-16 20:36:16 +0000
commit42634836e999dfcb59f1f5ea50dfd33442be4b9a (patch)
tree607631ee5cc429f2087830d846db12d929bf3e89 /autoconf
parent3335029b1f4cd663411277aa2f93b4eaa7a0289e (diff)
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
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac4
1 files changed, 2 insertions, 2 deletions
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)