mirror of
https://github.com/aria2/aria2.git
synced 2024-11-24 02:23:38 +08:00
22e414dbb0
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 |