TEA (tclconfig) Source Code

Check-in [8b4bbb54c8]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

Overview
Comment:fixes configure error "Windows/CE and GCC builds incompatible" as well as proper tcl_platform (if cross-compiled in unix) by mingw build.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8b4bbb54c8594bc2532a460b08abd591ebc8f8c68fb2b361cf87e33dbe9d1c2a
User & Date: sebres 2019-01-17 09:45:27
Context
2019-01-22
15:40
Don't use -prebind option on MacOSX any more: was only needed for OSX < 10.4, which is no longer supported (2005!!!) check-in: 33407d14ed user: jan.nijtmans tags: trunk
2019-01-17
09:45
fixes configure error "Windows/CE and GCC builds incompatible" as well as proper tcl_platform (if cross-compiled in unix) by mingw build. check-in: 8b4bbb54c8 user: sebres tags: trunk
2019-01-09
14:48
mingw cross-compile: fix 2nd mistake - invalid tcl_platform retrieved, resp. overwritten if cross-compiled in unix (tcl_platform should be windows in mingw) Closed-Leaf check-in: 0823b5e65a user: sebres tags: sebres-fix-cross-comp-mingw
2018-12-03
14:35
Don't warn any more for an OK situation. check-in: 4ebdc474ec user: jan.nijtmans tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tcl.m4.

   436    436       AC_MSG_CHECKING([platform])
   437    437       hold_cc=$CC; CC="$TCL_CC"
   438    438       AC_TRY_COMPILE(,[
   439    439   	    #ifdef _WIN32
   440    440   		#error win32
   441    441   	    #endif
   442    442   	], [
   443         -	    TEA_PLATFORM="unix"
          443  +	    # first test we've already retrieved platform (cross-compile), fallback to unix otherwise:
          444  +	    TEA_PLATFORM="${TEA_PLATFORM-unix}"
   444    445   	    CYGPATH=echo
   445    446   	], [
   446    447   	    TEA_PLATFORM="windows"
   447    448   	    AC_CHECK_PROG(CYGPATH, cygpath, cygpath -m, echo)	]
   448    449       )
   449    450       CC=$hold_cc
   450    451       AC_MSG_RESULT($TEA_PLATFORM)
................................................................................
  1146   1147   	AC_HELP_STRING([--disable-rpath],
  1147   1148   	    [disable rpath support (default: on)]),
  1148   1149   	[doRpath=$enableval], [doRpath=yes])
  1149   1150       AC_MSG_RESULT([$doRpath])
  1150   1151   
  1151   1152       # TEA specific: Cross-compiling options for Windows/CE builds?
  1152   1153   
         1154  +    doWince=${enable_wince-no}
  1153   1155       AS_IF([test "${TEA_PLATFORM}" = windows], [
  1154   1156   	AC_MSG_CHECKING([if Windows/CE build is requested])
  1155   1157   	AC_ARG_ENABLE(wince,
  1156   1158   	    AC_HELP_STRING([--enable-wince],
  1157   1159   		[enable Win/CE support (where applicable)]),
  1158   1160   	    [doWince=$enableval], [doWince=no])
  1159   1161   	AC_MSG_RESULT([$doWince])