ObjFW  Check-in [fe8d99125e]

Overview
Comment:Disable compiler TLS on AmigaOS (m68k & PPC)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: fe8d99125e015b24780298447058a055b40104e9f90cde88149d5c6b2eae055e
User & Date: js on 2020-02-16 21:27:28
Other Links: manifest | tags
Context
2020-02-16
22:20
tlskey.m: Gracefully handle ctor not called yet check-in: aae9464778 user: js tags: trunk
21:27
Disable compiler TLS on AmigaOS (m68k & PPC) check-in: fe8d99125e user: js tags: trunk
18:22
OF{LHA,Tar,ZIP}Archive: Gracefully handle close check-in: 1d6d3eb61c user: js tags: trunk
Changes

Modified configure.ac from [accd09155b] to [996c5903be].

1013
1014
1015
1016
1017
1018
1019




1020
1021
1022
1023
1024
1025
1026
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030







+
+
+
+







		AS_HELP_STRING([--disable-compiler-tls],
			[disable compiler thread local storage]))

	case "$host" in
		aarch64*-*-android*)
			# Compiler TLS is broken on AArch64 Android with Clang
			enable_compiler_tls="no"
			;;
		m68k-*-amigaos | powerpc-*-amigaos)
			# Compiler TLS is broken on AmigaOS
			enable_compiler_tls="no"
			;;
	esac

	AS_IF([test x"$enable_compiler_tls" != x"no"], [
		AC_CHECK_HEADER(threads.h, [
			AC_DEFINE(OF_HAVE_THREADS_H, 1,
				[Whether we have threads.h])