]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
C++11: compiler support is now mandatory
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 22 May 2015 13:59:49 +0000 (06:59 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 22 May 2015 13:59:49 +0000 (06:59 -0700)
We are now using too many C++11 features to go without proper support in
the compiler. Present ./configure time errors if support for -std=c++11
is missing.

configure.ac

index 3915c5f73f5cad9a609fcd7d1fa4036f509aa5de..b9ad23949b2a8ea8ea17278d54bb56ca3cdac1c9 100644 (file)
@@ -93,7 +93,7 @@ if test "x$squid_host_os" = "solaris" -a "x$GCC" != "x" ; then
 fi
 
 # Check for C++11 compiler support
-AX_CXX_COMPILE_STDCXX_11([noext],[optional])
+AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
 
 # test for programs
 AC_PROG_RANLIB