diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-01-15 10:31:15 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-01-15 10:31:15 +0000 |
commit | 9c62b5eabb41d41023815df01d07bda5abbd8c4c (patch) | |
tree | 4d71e1f11d53cf825689eb0572445be95673a749 /Makefile.rules | |
parent | f62176f04759d1841e97064297337645cf536423 (diff) | |
download | llvm-9c62b5eabb41d41023815df01d07bda5abbd8c4c.tar.gz llvm-9c62b5eabb41d41023815df01d07bda5abbd8c4c.tar.bz2 llvm-9c62b5eabb41d41023815df01d07bda5abbd8c4c.tar.xz |
Add a check to configure that the libstdc++ selected by Clang isn't
libstdc++v4.6. This is quite hard to test directly, so we test for it by
checking a known missing feature in that version that was added in v4.7.
This should prevent users from upgrading Clang but not GCC and hosting
with a too-old GCC's libstdc++ and getting strange and hard to debug
errors when we switch to C++11 by default.
Also, switch several of the macros I introduced to use AC_LANG_SOURCE
rather than AC_LANG_PROGRAM as we don't need configure's help writing
our main function (and we don't need such a function at all for most of
the tests).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
0 files changed, 0 insertions, 0 deletions