Add checks to configure for sufficiently modern host compilers. This
authorChandler Carruth <chandlerc@gmail.com>
Tue, 14 Jan 2014 05:02:38 +0000 (05:02 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 14 Jan 2014 05:02:38 +0000 (05:02 +0000)
commit7ba06ede596d5638282ddc7a4fd278af85354ee4
tree9a0596d33e252b3a08eef13013c4f138376823b5
parent3c733ea0649665b81947de596d410a5c4f42f5f4
Add checks to configure for sufficiently modern host compilers. This
requires Clang 3.1 or GCC 4.7. If the compiler isn't Clang or GCC, we
don't try to do any sanity checking, but this give us at least
a reasonable baseline of modern compilers.

Also, I'm not claiming that this is the best way to do compiler version
tests. I'm happy for anyone to suggest better ways of doing this test.

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