Differences From Artifact [58bf1c6235]:
- File
configure.ac
— part of check-in
[26f6bd3396]
at
2013-07-23 20:46:18
on branch trunk
— configure: Fix warning about missing spinlocks.
Also includes a few style improvements for runtime.h. (user: js, size: 22382) [annotate] [blame] [check-ins using]
To Artifact [ac39a0ebce]:
- File configure.ac — part of check-in [39cb0f9e7d] at 2013-07-31 22:55:27 on branch trunk — configure: Check that __thread works with PIC. (user: js, size: 22735) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
488 489 490 491 492 493 494 | # error buggy #endif __thread int x = 0; ], [ x++; ], [ | > > > > > > > > | | > > > > > > > > > > | 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 | # error buggy #endif __thread int x = 0; ], [ x++; ], [ AS_IF([test x"$enable_shared" != x"no"], [ old_OBJCFLAGS="$OBJCFLAGS" OBJCFLAGS="$OBJCFLAGS -fPIC" AC_TRY_COMPILE([ __thread int x = 0; ], [ x++; ], [ AC_MSG_RESULT(yes) AC_DEFINE(OF_HAVE_COMPILER_TLS, 1, [Whether __thread works]) ], [ AC_MSG_RESULT(no) ]) OBJCFLAGS="$old_OBJCFLAGS" ], [ AC_MSG_RESULT(yes) AC_DEFINE(OF_HAVE_COMPILER_TLS, 1, [Whether __thread works]) ]) ], [ AC_MSG_RESULT(no) ]) atomic_ops="none" AC_MSG_CHECKING(whether we have an atomic ops assembly implementation) |
︙ | ︙ |