Overview
| Artifact ID: | c57eceea0ad2b80d1dc2fbf354929866ab1077bc |
|---|---|
| Ticket: | 1407517fffffffffffffffffffffffffffffffff
TEA_CONFIG_CFLAGS does not recognize mingw |
| User & Date: | wart on 2006-01-16 17:41:46 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- 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_*) - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "wart"
- subsystem changed to: "85. tclconfig"
- title changed to: "TEA_CONFIG_CFLAGS does not recognize mingw"
- type changed to: "Bug"