From 6b6c50611c3c61ba99db2719df3bc74184883577 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 28 Apr 2016 16:06:00 +1000 Subject: [PATCH] m4/nc_cxx: remove tests for require c++11 features If your compiler doesn't support these we're not going to fake it. Fix your damn compiler. --- m4/nc_cxx.m4 | 9 --------- 1 file changed, 9 deletions(-) diff --git a/m4/nc_cxx.m4 b/m4/nc_cxx.m4 index b7faa3b7..9f4d064a 100644 --- a/m4/nc_cxx.m4 +++ b/m4/nc_cxx.m4 @@ -14,14 +14,5 @@ AC_DEFUN([NC_CXX],[ AC_C_RESTRICT AC_C_INLINE - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([struct A { virtual void C (void) = 0; }; - struct B : A { void C (void) override; }; ], - [])], - [], [AC_DEFINE([override], [], [Pretend about override keyword support])]) - - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([struct A final { }; ], - [])], - [], [AC_DEFINE([final], [], [Pretend about final keyword support])]) - AX_APPEND_COMPILE_FLAGS([-fvisibility=hidden], [], [-Werror]) ])