ObjFW  Check-in [8ca9721ffe]

Overview
Comment:configure: --disable-tls -> --disable-compiler-tls
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8ca9721ffe7beb4430eb7e08d7c778fe538fc14ded3b7d67c721a34b464738bb
User & Date: js on 2014-02-03 18:29:58
Other Links: manifest | tags
Context
2014-02-03
19:11
OFKernelEventObserver: Fix a typo check-in: 678dd1cdc7 user: js tags: trunk
18:29
configure: --disable-tls -> --disable-compiler-tls check-in: 8ca9721ffe user: js tags: trunk
14:43
Move socket initialization to a single place check-in: 414c87ec13 user: js tags: trunk
Changes

Modified configure.ac from [8730f14296] to [542c5cd378].

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








|
|
>
|







494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
		;;
	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(compiler-tls,
		AS_HELP_STRING([--disable-compiler-tls],
			[disable compiler thread local storage]))
	AS_IF([test x"$enable_compiler_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