Overview
Comment: | configure: Add --disable-tls option. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1fb15f3fd9ccdf344c5d7d40609eb4f8 |
User & Date: | js on 2013-12-15 16:57:03 |
Other Links: | manifest | tags |
Context
2013-12-15
| ||
17:22 | lookup-asm-mips.S: Use __MIPSE[LB]__. check-in: a2d93fd632 user: js tags: trunk | |
16:57 | configure: Add --disable-tls option. check-in: 1fb15f3fd9 user: js tags: trunk | |
16:36 | tests: Import ObjFW.h to test it. check-in: 06d5d5a774 user: js tags: trunk | |
Changes
Modified configure.ac from [b35cbc2251] to [5855714367].
︙ | ︙ | |||
494 495 496 497 498 499 500 501 502 503 504 505 506 507 | ;; esac AC_DEFINE(OF_HAVE_THREADS, 1, [Whether we have threads]) AC_SUBST(USE_SRCS_THREADS, '${SRCS_THREADS}') AC_SUBST(USE_INCLUDES_THREADS, '${INCLUDES_THREADS}') AC_MSG_CHECKING(whether __thread works) AC_TRY_LINK([ /* It seems __thread is buggy with GCC 4.1 */ #if __GNUC__ == 4 && __GNUC_MINOR__ < 2 # error buggy #endif | > > > | 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 | ;; esac AC_DEFINE(OF_HAVE_THREADS, 1, [Whether we have threads]) AC_SUBST(USE_SRCS_THREADS, '${SRCS_THREADS}') AC_SUBST(USE_INCLUDES_THREADS, '${INCLUDES_THREADS}') AC_ARG_ENABLE(tls, AS_HELP_STRING([--disable-tls], [disable thread local storage])) AS_IF([test x"$enable_tls" != x"no"], [ AC_MSG_CHECKING(whether __thread works) AC_TRY_LINK([ /* It seems __thread is buggy with GCC 4.1 */ #if __GNUC__ == 4 && __GNUC_MINOR__ < 2 # error buggy #endif |
︙ | ︙ | |||
528 529 530 531 532 533 534 535 536 537 538 539 540 541 | 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) AC_EGREP_CPP(yes, [ #if defined(__GNUC__) && (defined(__i386__) || \ defined(__amd64__) || defined(__x86_64__)) | > | 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 | 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) AC_EGREP_CPP(yes, [ #if defined(__GNUC__) && (defined(__i386__) || \ defined(__amd64__) || defined(__x86_64__)) |
︙ | ︙ |