Kaydet (Commit) 38a8b6da authored tarafından Stephan Bergmann's avatar Stephan Bergmann

grr

Change-Id: Ib158bc873fc41bb5668a1da3d7c928f2757d80ab
üst be4b5d56
......@@ -5690,19 +5690,18 @@ return !(i != 0 && j != 0);
CXXFLAGS=$save_CXXFLAGS
fi
if test "$HAVE_CXX11" != "TRUE"; then
if test -n "$CXXFLAGS_CXX11"; then
AC_MSG_NOTICE([Disabling C++11 support])
CXXFLAGS_CXX11=
elif test "$CPP_LIBRARY" = LIBCPP -a $_os = Darwin; then
AC_MSG_ERROR([Selected libc++ but C++11 support broken])
fi
if test "$HAVE_CXX11" = "TRUE"; then
AC_DEFINE(HAVE_CXX11)
elif test -n "$CXXFLAGS_CXX11"; then
AC_MSG_NOTICE([Disabling C++11 support])
CXXFLAGS_CXX11=
elif test "$CPP_LIBRARY" = LIBCPP -a $_os = Darwin; then
AC_MSG_ERROR([Selected libc++ but C++11 support broken])
fi
fi
AC_SUBST(CXXFLAGS_CXX11)
AC_SUBST(HAVE_CXX11)
AC_DEFINE(HAVE_CXX11)
dnl ==================================
dnl Check for C++11 "= delete" support
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment