Check-in [08306ae2ee]
Overview
Comment:Check in more depth for OpenMP support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 08306ae2eef5af82c41dfed7ae1257fd6884a1b8132bdd2af8a26cf94643dd11
User & Date: rkeene on 2019-01-23 06:16:02
Other Links: manifest | tags
Context
2019-01-23
06:41
Support CryptGenRandom() on Windows check-in: 0037d24768 user: rkeene tags: trunk
06:16
Check in more depth for OpenMP support check-in: 08306ae2ee user: rkeene tags: trunk
05:43
Ensure random implementations are static check-in: f1e737d284 user: rkeene tags: trunk
Changes

Modified configure.ac from [4e2388c162] to [6ebc468745].

92
93
94
95
96
97
98
99

100
101
102

103
104
105

106
107
108

109
110
111
112
113
114
115
92
93
94
95
96
97
98

99
100
101

102
103
104

105
106
107

108
109
110
111
112
113
114
115







-
+


-
+


-
+


-
+







dnl Enable hardening
AX_CHECK_COMPILE_FLAG([-fstack-protector-all], [CFLAGS="$CFLAGS -fstack-protector-all"])
AX_CHECK_COMPILE_FLAG([-fno-strict-overflow], [CFLAGS="$CFLAGS -fno-strict-overflow"])
AC_DEFINE([_FORTIFY_SOURCE], [2], [Enable fortification])

dnl Enable OpenMP, if available
tcl_nano_openmp=''
AX_CHECK_COMPILE_FLAG([-fopenmp], [
AX_CHECK_LINK_FLAG([-fopenmp], [
	tcl_nano_openmp='-fopenmp'
], [
	AX_CHECK_COMPILE_FLAG([-xopenmp], [
	AX_CHECK_LINK_FLAG([-xopenmp], [
		tcl_nano_openmp='-xopenmp'
	], [
		AX_CHECK_COMPILE_FLAG([-openmp], [
		AX_CHECK_LINK_FLAG([-openmp], [
			tcl_nano_openmp='-openmp'
		], [
			AX_CHECK_COMPILE_FLAG([/openmp], [
			AX_CHECK_LINK_FLAG([/openmp], [
				tcl_nano_openmp='/openmp'
			])
		])
	])
])

if test -n "${tcl_nano_openmp}"; then