Initial configure support for using Clang as the LLVM capable compiler.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 23 Feb 2010 10:00:49 +0000 (10:00 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 23 Feb 2010 10:00:49 +0000 (10:00 +0000)
commit9851567a106ef1907cca715fc5e3e4e498b2df81
treeeb1cac3fbd3ffc570c1d2671a1028c81d881bcea
parent9e7d90bcfc1eb291118627dcc87ad79f6bc3fb20
Initial configure support for using Clang as the LLVM capable compiler.

Comes in two parts:
 1. Use --with-clang=path/to/clang/compiler to select an installed clang, or
    --with-built-clang to have the makefiles use the clang which will be built
    as the LLVM capable compiler. If neither is given, --with-built-clang will
    be used if the Clang sources are checked out into the standard location
    (tools/clang).

 2. Use --with-llvmcc={llvm-gcc,clang,none} to specify which LLVM capable
    compiler to use. If not given, then llvm-gcc will be used if available,
    otherwise Clang.

Makefile support still to come.

Eric, Doug, Chris, seem reasonable?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96934 91177308-0d34-0410-b5e6-96231b3b80d8
Makefile.config.in
autoconf/configure.ac
configure