From: Amos Jeffries Date: Fri, 21 Nov 2014 18:26:17 +0000 (-0800) Subject: Revert r12298 workaround for Bug 3613 X-Git-Tag: merge-candidate-3-v1~473 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a975a92909c2096453650cee632be0305ba32999;p=thirdparty%2Fsquid.git Revert r12298 workaround for Bug 3613 Now that Squid is starting to utilize C++11 features we need to enable them in all compilers. If the problem still exists then we need to find a better solution to bug 3613. --- diff --git a/configure.ac b/configure.ac index bdeb91f193..818d065236 100644 --- a/configure.ac +++ b/configure.ac @@ -93,16 +93,7 @@ if test "x$squid_host_os" = "solaris" -a "x$GCC" != "x" ; then fi # Check for C++11 compiler support -if test "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. - case "$CXX" in - *clang++*) ;; #do nothing - *) - AX_CXX_COMPILE_STDCXX_11([noext],[optional]) - esac -fi +AX_CXX_COMPILE_STDCXX_11([noext],[optional]) # test for programs AC_PROG_RANLIB