diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-12 15:33:22 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-12 17:52:26 +0200 |
commit | b08247a12b43fcd9f86ecd912fce7d69a3e66061 (patch) | |
tree | 76633e11779ed2658d18fe97406b1a657b7e7bc5 /configure.ac | |
parent | bff4c13475957863bfa7da5bc3bcf82a64a7503a (diff) |
HAVE_CXX11_OVERRIDE is required on all supported toolchains
Change-Id: Ibc5462642d0a3cd0f96668472ddc0ac0ae407132
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/configure.ac b/configure.ac index 162d89e991f1..47dc1f999673 100644 --- a/configure.ac +++ b/configure.ac @@ -6192,35 +6192,6 @@ CXXFLAGS=$save_CXXFLAGS AC_SUBST(CXXFLAGS_CXX11) dnl ================================== -dnl Check for C++11 "override" support -dnl ================================== - -AC_MSG_CHECKING([whether $CXX supports C++11 "override" syntax]) -save_CXXFLAGS=$CXXFLAGS -CXXFLAGS="$CXXFLAGS $CXXFLAGS_CXX11" -AC_LANG_PUSH([C++]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -struct A -{ - virtual void test(); -}; - -struct B : A -{ - virtual void test() override; -}; -]])],[HAVE_CXX11_OVERRIDE=TRUE],[]) - -AC_LANG_POP([C++]) -CXXFLAGS=$save_CXXFLAGS -if test "$HAVE_CXX11_OVERRIDE" = "TRUE"; then - AC_MSG_RESULT([yes]) - AC_DEFINE([HAVE_CXX11_OVERRIDE]) -else - AC_MSG_RESULT([no]) -fi - -dnl ================================== dnl Check for C++11 "final" support dnl ================================== |