]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Revert r12298 workaround for Bug 3613
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 21 Nov 2014 18:26:17 +0000 (10:26 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 21 Nov 2014 18:26:17 +0000 (10:26 -0800)
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.

configure.ac

index bdeb91f1935efd9f58f867b80903bbf7f5e0574a..818d06523606c7b626a4ac2ffa44fa661917893d 100644 (file)
@@ -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