]> git.ipfire.org Git - thirdparty/squid.git/commit - acinclude/ax_cxx_compile_stdcxx_11.m4
C++11: Upgrade auto-detection to use the formal -std=c++11
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 29 Mar 2014 11:15:13 +0000 (04:15 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 29 Mar 2014 11:15:13 +0000 (04:15 -0700)
commitea1cf5672c9c30edd3703245f44822f898bba05f
treec1212216e0b47dba5fc17f95e660cead7cb1fe59
parentc34e017763586650d84ff004f922a6873539f0da
C++11: Upgrade auto-detection to use the formal -std=c++11

When the latest compilers added support for -std=c++11 they also dropped
the temporary -std=c++0x option without backward-compatible support. So
for the newest compilers we have not been testing the C++11 code.

As a result of this change Squid will no longer attempt to enable the
partial support in older compilers with -std=c++0x.

Also, update the compiler option test macro from autoconf project.
acinclude/ax_cxx_compile_stdcxx_0x.m4 [deleted file]
acinclude/ax_cxx_compile_stdcxx_11.m4 [new file with mode: 0644]
configure.ac