[Libreoffice-commits] .: configure.in
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Mon Feb 20 05:31:58 PST 2012
configure.in | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
New commits:
commit f78cb7da33a9f69e865b28b55a212bf1d11b1d7d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Feb 20 14:30:13 2012 +0100
Improve check for broken -fthreadsafe-statics
diff --git a/configure.in b/configure.in
index 50a9b97..39fe207 100644
--- a/configure.in
+++ b/configure.in
@@ -4282,8 +4282,14 @@ if test "$GCC" = "yes"; then
dnl return n;
dnl }
dnl
- dnl Mac OS X up to at least 10.7.1 is known to have this problem:
- if test "$_os" = "Darwin"; then
+ dnl Mac OS X up to at least 10.7.1 is known to have this problem, as is
+ dnl at least one instance of GCC 4.2.4 (used on a "Linux
+ dnl ooobuild1.osuosl.org 2.6.9-101.plus.c4smp #1 SMP Thu Jul 21 19:08:15
+ dnl EDT 2011 i686 i686 i386 GNU/Linux" machine); see the definition of
+ dnl __cxa_guard_acquire in GCC's libstdc++-v3/libsupc++/guard.cc for
+ dnl what #ifdefs actually make a difference there. Conservative advice
+ dnl from Jakub Jelinek is to assume it working in GCC >= 4.3:
+ if test "$_os" = "Darwin" -o "${GCCVER?}" -lt 040300; then
unset HAVE_THREADSAFE_STATICS
AC_MSG_RESULT([broken (i.e., no)])
else
More information about the Libreoffice-commits
mailing list