]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows: MinGW is too strict about ANSI when built with std=c++0x
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 26 Nov 2011 10:37:24 +0000 (03:37 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 26 Nov 2011 10:37:24 +0000 (03:37 -0700)
configure.ac

index 97d4ab2652230ec813adf55778affd813810b133..9a6d990d7987379761e515b31ac7377c21cc27c3 100644 (file)
@@ -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