mirror of https://github.com/aria2/aria2
The clang shipped with OSX XCode and clangs not build enabling libcpp, will default to the libstdc++ headers and lib installed on the system. In the OSX case, that libstdc++ is the one bundles with gcc-4.2, which is far too old to provide all required C++11 types, such as std::shared_ptr. Hence, the C++11 check should try to compile a program with a C++11 type and try -stdlib=libc++ if the default lib fails to compile said program. |
||
|---|---|---|
| .. | ||
| aria2_arg.m4 | ||
| ax_cxx_compile_stdcxx_11.m4 | ||
| fallocate.m4 | ||
| libexpat.m4 | ||