Diff

Differences From Artifact [78ecf55e1a]:

To Artifact [7a25fae137]:


71
72
73
74
75
76
77
78














79
80
81
82
83
84
85
71
72
73
74
75
76
77

78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98







-
+
+
+
+
+
+
+
+
+
+
+
+
+
+








			## Long-standing bug in Tcl
			echo '#undef strtod' > "${TCLPRIVATE}/compat/strtod.c.new"
			cat "${TCLPRIVATE}/compat/strtod.c" >> "${TCLPRIVATE}/compat/strtod.c.new"
			cat "${TCLPRIVATE}/compat/strtod.c.new" > "${TCLPRIVATE}/compat/strtod.c"
			rm -f "${TCLPRIVATE}/compat/strtod.c.new"

			for dir in unix win macosx; do
			tcl_platform_dir='unix win macosx'

			case "${CC}" in
				*mingw*)
					# If the compiler looks like Mingw, use Windows
					tcl_platform_dir='win'
					;;
				*-*-*)
					# Default for cross-compiling is UNIX
					tcl_platform_dir='unix'
					;;
			esac

			for dir in ${tcl_platform_dir}; do
				cd "${TCLPRIVATE}/${dir}" || exit 1

				echo " Executing: ./configure --enable-threads ${CONFIGUREEXTRA} --prefix=\"${TCLINSTDIR}\""
				./configure --enable-threads ${CONFIGUREEXTRA} --prefix="${TCLINSTDIR}"

				echo " Executing: ${MAKE:-make}"
				${MAKE:-make} || (