From 86483657f40dbfadeb83e274bb9543670f5422ab Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 8 Sep 2013 19:46:31 -0600 Subject: [PATCH] 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. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.47.2