diff options
author | Eric Christopher <echristo@apple.com> | 2011-09-16 20:36:16 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-09-16 20:36:16 +0000 |
commit | 42634836e999dfcb59f1f5ea50dfd33442be4b9a (patch) | |
tree | 607631ee5cc429f2087830d846db12d929bf3e89 /autoconf | |
parent | 3335029b1f4cd663411277aa2f93b4eaa7a0289e (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.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index f3e94e89df..7097a4238e 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) |