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 | f8c6ccf85d3d97b3d9c213137e2a12fbb9fafabe (patch) | |
| tree | f8509691e43a2a207ac55f57f3e832a7874f1dcf /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
| parent | dee105772c5b5662e1a046b1c102467c84a09d26 (diff) | |
| download | llvm-f8c6ccf85d3d97b3d9c213137e2a12fbb9fafabe.zip llvm-f8c6ccf85d3d97b3d9c213137e2a12fbb9fafabe.tar.gz llvm-f8c6ccf85d3d97b3d9c213137e2a12fbb9fafabe.tar.bz2 | |
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).
llvm-svn: 199313
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions
