From: Amos Jeffries Date: Tue, 3 Sep 2013 00:16:54 +0000 (+1200) Subject: Regression fix: revert rev.12815 MinGW C++11 support X-Git-Tag: SQUID_3_5_0_1~650 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5afc4bc88f7c19055896c01db19928d013662aa1;p=thirdparty%2Fsquid.git Regression fix: revert rev.12815 MinGW C++11 support MinGW supports c++11 but in ANSI-strict way. Squid code still contains non-standard strcasecmp strncasecmp and possibly other functions. This is a iCelero Project. --- diff --git a/configure.ac b/configure.ac index 3379cadd1c..2f206d0cf7 100644 --- a/configure.ac +++ b/configure.ac @@ -71,7 +71,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 #BUG 3613: when clang -std=c++0x is used, it activates a "strict mode" # in the system libraries, which makes some c99 methods unavailable # (e.g. strtoll), yet configure detects them as avilable.