TEA (tclconfig) Source Code

Ticket Change Details
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Overview

Artifact ID: 7b7743e54ade40605ae903b1db3a77ea16693c51a310bbbda8c7d757635f7649
Ticket: eb3db1c7655f5bdc9e8c511d1fbe0ca8fed70c00
Missing include in tcl.m4 causes configure failure in macOS on Apple Silicon
User & Date: jeremyhu 2020-06-24 05:35:50
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Implicit function declarations are errors on darwin/arm64.  This patch adds a missing include to one of the AC_TRY_RUNs in tcl.m4:
    
    
    --- a/tcl.m4
    +++ b/tcl.m4
    @@ -2584,6 +2584,7 @@ AC_DEFUN([TEA_BUGGY_STRTOD], [
         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=" ";
    
  5. is_private changed to: "0"
  6. login: "jeremyhu"
  7. priority changed to: "5 Medium"
  8. resolution changed to: "None"
  9. severity changed to: "Minor"
  10. status changed to: "Open"
  11. submitter changed to: "jeremyhu"
  12. subsystem changed to: "- New Builtin Commands"
  13. title changed to:
    Missing include in tcl.m4 causes configure failure in macOS on Apple Silicon
    
  14. type changed to: "Bug"