From: Amos Jeffries Date: Mon, 9 Sep 2013 01:46:31 +0000 (-0600) Subject: Regression fix: revert rev.12815 MinGW C++11 support X-Git-Tag: SQUID_3_4_0_2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86483657f40dbfadeb83e274bb9543670f5422ab;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 4d0bb51808..b4c988ac2c 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.