Kaydet (Commit) 44405c95 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

We use four column indentation steps in this file

Change-Id: I52898b460669ce7afaaeef4d28f36883eb20effa
üst 3ec4b907
...@@ -5402,23 +5402,23 @@ if test "$GXX" = "yes"; then ...@@ -5402,23 +5402,23 @@ if test "$GXX" = "yes"; then
dnl see https://code.google.com/p/android/issues/detail?id=41770 dnl see https://code.google.com/p/android/issues/detail?id=41770
if test "$_gpp_majmin" -ge "401"; then if test "$_gpp_majmin" -ge "401"; then
glibcxx_threads=no glibcxx_threads=no
AC_LANG_PUSH([C++]) AC_LANG_PUSH([C++])
AC_REQUIRE_CPP AC_REQUIRE_CPP
AC_MSG_CHECKING([whether $CXX is broken with boost.thread]) AC_MSG_CHECKING([whether $CXX is broken with boost.thread])
AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[ AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
#include <bits/c++config.h>]],[[ #include <bits/c++config.h>]],[[
#if !defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \ #if !defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \
&& !defined(_GLIBCXX__PTHREADS) \ && !defined(_GLIBCXX__PTHREADS) \
&& !defined(_GLIBCXX_HAS_GTHREADS) && !defined(_GLIBCXX_HAS_GTHREADS)
choke me choke me
#endif #endif
]])],[AC_MSG_RESULT([yes]) ]])],[AC_MSG_RESULT([yes])
glibcxx_threads=yes],[AC_MSG_RESULT([no])]) glibcxx_threads=yes],[AC_MSG_RESULT([no])])
AC_LANG_POP([C++]) AC_LANG_POP([C++])
if test $glibcxx_threads = yes; then if test $glibcxx_threads = yes; then
BOOST_CXXFLAGS="-D_GLIBCXX_HAS_GTHREADS" BOOST_CXXFLAGS="-D_GLIBCXX_HAS_GTHREADS"
fi fi
fi fi
fi fi
AC_SUBST(BOOST_CXXFLAGS) AC_SUBST(BOOST_CXXFLAGS)
......
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