Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c57eceea0ad2b80d1dc2fbf354929866ab1077bc
Ticket: 1407517fffffffffffffffffffffffffffffffff
TEA_CONFIG_CFLAGS does not recognize mingw
User & Date: wart on 2006-01-16 17:41:46
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I'm running the tcl.m4 from the CVS head on WinXP using
    mingw 0.8.
    
    I tried using this with the sample extension and got
    the following warning when running 'configure':
    
    "Can't figure out how to do dynamic loading or shared
    libraries on this system."
    
    Walking through the TEA_CONFIG_CFLAGS macro uncovered
    the problem.  In the giant 'case' statement for each
    platform, the branch for windows is listed as
    'windows', which is not a possible value.
    
    AC_DEFUN(TEA_CONFIG_CFLAGS, [
    ...
    if test "${TEA_PLATFORM}" = "windows" ; then
       # TEA_PLATFORM is either 'windows' or 'unix'
       ...
    fi
    ...
    # This sets $system to 'uname -s'-'uname -r',
    # which on mingw is:
    # MINGW32_NT-5.1-1.0.8(0.46/3/2)
    TEA_CONFIG_SYSTEM
    ...
    case $system in
        windows)
            ...
        AIX-*)
            ...
    esac
    
    
    The branch for windows should instead be:
    
    case $system in
       
    *win32*|*WIN32*|*CYGWIN_NT*|*CYGWIN_9*|*CYGWIN_ME*|*MINGW32_*)
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "wart"
  9. subsystem changed to: "85. tclconfig"
  10. title changed to: "TEA_CONFIG_CFLAGS does not recognize mingw"
  11. type changed to: "Bug"