From: Francesco Chemolli Date: Sat, 26 Nov 2011 10:37:24 +0000 (-0700) Subject: Windows: MinGW is too strict about ANSI when built with std=c++0x X-Git-Tag: BumpSslServerFirst.take05~12^2~168 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a8fb79062e85d95031ebe6a4fb3021997012b7a;p=thirdparty%2Fsquid.git Windows: MinGW is too strict about ANSI when built with std=c++0x --- diff --git a/configure.ac b/configure.ac index 97d4ab2652..9a6d990d79 100644 --- a/configure.ac +++ b/configure.ac @@ -65,7 +65,8 @@ fi # 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