------------------------------------------------------------ revno: 11885 revision-id: squid3@treenet.co.nz-20111126103724-ye2uduaw5d9v3h4a parent: squid3@treenet.co.nz-20111126003656-a0sc7ur6dxb1lv4h author: Francesco Chemolli committer: Amos Jeffries branch nick: trunk timestamp: Sat 2011-11-26 03:37:24 -0700 message: Windows: MinGW is too strict about ANSI when built with std=c++0x ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20111126103724-ye2uduaw5d9v3h4a # target_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # testament_sha1: 629438987a264a5e67513786ce0104c809f2ca69 # timestamp: 2011-11-26 10:55:34 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # base_revision_id: squid3@treenet.co.nz-20111126003656-\ # a0sc7ur6dxb1lv4h # # Begin patch === modified file 'configure.ac' --- configure.ac 2011-11-04 07:03:11 +0000 +++ configure.ac 2011-11-26 10:37:24 +0000 @@ -65,7 +65,8 @@ # Check for C++0x compiler support AX_CXX_COMPILE_STDCXX_0X -if test "x$ax_cv_cxx_compile_cxx0x_cxx" = "xyes"; then +if test "x$ax_cv_cxx_compile_cxx0x_cxx" = "xyes" -a \ + "x$squid_host_os" != "xmingw" ; then CXXFLAGS="$CXXFLAGS -std=c++0x" fi