TEA (tclconfig) Source Code

Changes On Branch sebres-fix-cross-comp-mingw
Login

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

Changes In Branch sebres-fix-cross-comp-mingw Excluding Merge-Ins

This is equivalent to a diff from 4ebdc474ec to 0823b5e65a

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
13:44
fix cross-compile build for windows(mingw) from *nix: set default wince to off for all platforms exepting windows, take care the option (--enable-wince/--disable-wince) check-in: 66ccb87578 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
2018-10-31
20:58
Add support for DragonFly check-in: 6ff48b25e2 user: jan.nijtmans tags: trunk

Changes to tcl.m4.

436
437
438
439
440
441
442

443

444
445
446
447
448
449
450
436
437
438
439
440
441
442
443

444
445
446
447
448
449
450
451







+
-
+







    AC_MSG_CHECKING([platform])
    hold_cc=$CC; CC="$TCL_CC"
    AC_TRY_COMPILE(,[
	    #ifdef _WIN32
		#error win32
	    #endif
	], [
	    # first test we've already retrieved platform (cross-compile), fallback to unix otherwise:
	    TEA_PLATFORM="unix"
	    TEA_PLATFORM="${TEA_PLATFORM-unix}"
	    CYGPATH=echo
	], [
	    TEA_PLATFORM="windows"
	    AC_CHECK_PROG(CYGPATH, cygpath, cygpath -m, echo)	]
    )
    CC=$hold_cc
    AC_MSG_RESULT($TEA_PLATFORM)
1146
1147
1148
1149
1150
1151
1152

1153
1154
1155
1156
1157
1158
1159
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161







+







	AC_HELP_STRING([--disable-rpath],
	    [disable rpath support (default: on)]),
	[doRpath=$enableval], [doRpath=yes])
    AC_MSG_RESULT([$doRpath])

    # TEA specific: Cross-compiling options for Windows/CE builds?

    doWince=${enable_wince-no}
    AS_IF([test "${TEA_PLATFORM}" = windows], [
	AC_MSG_CHECKING([if Windows/CE build is requested])
	AC_ARG_ENABLE(wince,
	    AC_HELP_STRING([--enable-wince],
		[enable Win/CE support (where applicable)]),
	    [doWince=$enableval], [doWince=no])
	AC_MSG_RESULT([$doWince])