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.
This commit is contained in:
Danny Robson 2016-04-28 16:06:00 +10:00
parent be79ade619
commit 6b6c50611c

View File

@ -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])
])