TEA (tclconfig) Source Code

Check-in [0f70d72743]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [eb3db1c765]: Missing include in tcl.m4 causes configure failure in macOS on Apple Silicon
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0f70d7274352f1a620b6b5adf1325de59b5e6b243237978bce02337842e0b866
User & Date: jan.nijtmans 2020-06-24 07:26:06.417
Context
2020-07-03
11:04
TIP #578: Death to TCL_DBGX check-in: fff5880706 user: jan.nijtmans tags: trunk
2020-06-24
07:26
Fix [eb3db1c765]: Missing include in tcl.m4 causes configure failure in macOS on Apple Silicon check-in: 0f70d72743 user: jan.nijtmans tags: trunk
2020-05-22
07:54
Add link flags "-lz" and "-ltommath" to the TEA_TCL_LINK_LIBS macro: Tcl 8.6 needs -lz and Tcl 8.7 will need -ltommath when available (and recent enough version), so tclkit packages (statically built) might need this. check-in: 257dd7df23 user: jan.nijtmans tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to tcl.m4.
2415
2416
2417
2418
2419
2420
2421

2422
2423
2424
2425
2426
2427
2428
#--------------------------------------------------------------------

AC_DEFUN([TEA_BUGGY_STRTOD], [
    AC_CHECK_FUNC(strtod, tcl_strtod=1, tcl_strtod=0)
    if test "$tcl_strtod" = 1; then
	AC_CACHE_CHECK([for Solaris2.4/Tru64 strtod bugs], tcl_cv_strtod_buggy,[
	    AC_TRY_RUN([

		extern double strtod();
		int main() {
		    char *infString="Inf", *nanString="NaN", *spaceString=" ";
		    char *term;
		    double value;
		    value = strtod(infString, &term);
		    if ((term != infString) && (term[-1] == 0)) {







>







2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
#--------------------------------------------------------------------

AC_DEFUN([TEA_BUGGY_STRTOD], [
    AC_CHECK_FUNC(strtod, tcl_strtod=1, tcl_strtod=0)
    if test "$tcl_strtod" = 1; then
	AC_CACHE_CHECK([for Solaris2.4/Tru64 strtod bugs], tcl_cv_strtod_buggy,[
	    AC_TRY_RUN([
		#include <stdlib.h>
		extern double strtod();
		int main() {
		    char *infString="Inf", *nanString="NaN", *spaceString=" ";
		    char *term;
		    double value;
		    value = strtod(infString, &term);
		    if ((term != infString) && (term[-1] == 0)) {