TEA (tclconfig) Source Code

Check-in [b433d084bb]
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:Fix 00189c4afc: Allow semi-static UCRT build on Windows with VC 14.0
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b433d084bb564f92068328c304e6f2409c48f713
User & Date: jan.nijtmans 2015-08-28 13:33:40
Context
2015-09-30
11:19
Don't limit Universal runtime support to VisualStudio version 14 only, future versions will probably have it as well. check-in: 3f2849aefc user: jan.nijtmans tags: trunk
2015-08-28
13:33
Fix 00189c4afc: Allow semi-static UCRT build on Windows with VC 14.0 check-in: b433d084bb user: jan.nijtmans tags: trunk
2015-04-21
09:53
Fix comment, stating configure.in in stead of configure.ac. No functional change. check-in: a9aa1b9ba1 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50




2013-10-08  Jan Nijtmans  <[email protected]sf.net>

	* unix/tcl.m4:  Bug [172223e008]: Wrong filename in
	--disable-shared compile on MinGW

2013-10-04  Jan Nijtmans  <[email protected]>

	* unix/tcl.m4:  stub library is no longer linked with msvcrt??.dll.

2013-10-01  Jan Nijtmans  <[email protected]>

	* unix/tcl.m4:  Workaround for MinGW bug #2065:  "gcc --shared" links
	with libgcc_s_dw2-1.dll when using 64-bit division in C 

2013-07-04  Jan Nijtmans  <[email protected]>

	* unix/tcl.m4:  Bug [3324676]: AC_PROG_INSTALL incompat,
	Bug [3606445]: Unneeded -DHAVE_NO_SEH=1 when not building on Windows

2013-07-02  Jan Nijtmans  <[email protected]>

	* unix/tcl.m4:  Bug [32afa6e256]: dirent64 check is incorrect in tcl.m4
	(thanks to Brian Griffin)

2013-06-20  Jan Nijtmans  <[email protected]>

	* unix/tcl.m4:  Use X11/Xlib.h for checking where X11 can be found
	in stead of X11/XIntrinsic.h. Suggested by Pietro Cerutti.

2013-06-04  Jan Nijtmans  <[email protected]>

	* unix/tcl.m4: Eliminate NO_VIZ macro as current
	zlib uses HAVE_HIDDEN in stead. One more last-moment
	fix for FreeBSD by Pietro Cerutti

2013-05-19  Jan Nijtmans  <[email protected]>

	* unix/tcl.m4: Fix for FreeBSD, and remove support for old
	FreeBSD versions. Patch by Pietro Cerutti 

2013-03-12  Jan Nijtmans  <[email protected]>

	* unix/tcl.m4: Patch by Andrew Shadura, providing better support for
	* three architectures they have in Debian.

2012-08-07  Stuart Cassoff  <[email protected]>

	* tcl.m4: Added "-DNDEBUG" to CFLAGS_DEFAULT
	when building with --disable-symbols.

>
>
>
>
>


|




|



|
|



|




|




|




|





|
|



|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
2015-08-28  Jan Nijtmans  <[email protected]>

	* tcl.m4:  Rfe [00189c4afc]: Allow semi-static UCRT build on
	Windows with VC 14.0

2013-10-08  Jan Nijtmans  <[email protected]>

	* tcl.m4:  Bug [172223e008]: Wrong filename in
	--disable-shared compile on MinGW

2013-10-04  Jan Nijtmans  <[email protected]>

	* tcl.m4:  stub library is no longer linked with msvcrt??.dll.

2013-10-01  Jan Nijtmans  <[email protected]>

	* tcl.m4:  Workaround for MinGW bug #2065:  "gcc --shared" links
	with libgcc_s_dw2-1.dll when using 64-bit division in C

2013-07-04  Jan Nijtmans  <[email protected]>

	* tcl.m4:  Bug [3324676]: AC_PROG_INSTALL incompat,
	Bug [3606445]: Unneeded -DHAVE_NO_SEH=1 when not building on Windows

2013-07-02  Jan Nijtmans  <[email protected]>

	* tcl.m4:  Bug [32afa6e256]: dirent64 check is incorrect in tcl.m4
	(thanks to Brian Griffin)

2013-06-20  Jan Nijtmans  <[email protected]>

	* tcl.m4:  Use X11/Xlib.h for checking where X11 can be found
	in stead of X11/XIntrinsic.h. Suggested by Pietro Cerutti.

2013-06-04  Jan Nijtmans  <[email protected]>

	* tcl.m4: Eliminate NO_VIZ macro as current
	zlib uses HAVE_HIDDEN in stead. One more last-moment
	fix for FreeBSD by Pietro Cerutti

2013-05-19  Jan Nijtmans  <[email protected]>

	* tcl.m4: Fix for FreeBSD, and remove support for old
	FreeBSD versions. Patch by Pietro Cerutti

2013-03-12  Jan Nijtmans  <[email protected]>

	* tcl.m4: Patch by Andrew Shadura, providing better support for
	* three architectures they have in Debian.

2012-08-07  Stuart Cassoff  <[email protected]>

	* tcl.m4: Added "-DNDEBUG" to CFLAGS_DEFAULT
	when building with --disable-symbols.

Changes to tcl.m4.

1230
1231
1232
1233
1234
1235
1236








1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
....
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
	    if test "$GCC" != "yes" ; then
	        if test "${SHARED_BUILD}" = "0" ; then
		    runtime=-MT
	        else
		    runtime=-MD
	        fi









                if test "$do64bit" != "no" ; then
		    # All this magic is necessary for the Win64 SDK RC1 - hobbs
		    CC="\"${PATH64}/cl.exe\""
		    CFLAGS="${CFLAGS} -I\"${MSSDK}/Include\" -I\"${MSSDK}/Include/crt\" -I\"${MSSDK}/Include/crt/sys\""
		    RC="\"${MSSDK}/bin/rc.exe\""
		    lflags="-nologo -MACHINE:${MACHINE} -LIBPATH:\"${MSSDK}/Lib/${MACHINE}\""
		    LINKBIN="\"${PATH64}/link.exe\""
		    CFLAGS_DEBUG="-nologo -Zi -Od -W3 ${runtime}d"
		    CFLAGS_OPTIMIZE="-nologo -O2 -W2 ${runtime}"
		    # Avoid 'unresolved external symbol __security_cookie'
		    # errors, c.f. http://support.microsoft.com/?id=894573
		    TEA_ADD_LIBS([bufferoverflowU.lib])
		elif test "$doWince" != "no" ; then
................................................................................
			AC_DEFINE_UNQUOTED($i, 1, [WinCE def ]$i)
		    done
		    AC_DEFINE_UNQUOTED(_WIN32_WCE, $CEVERSION, [_WIN32_WCE version])
		    AC_DEFINE_UNQUOTED(UNDER_CE, $CEVERSION, [UNDER_CE version])
		    CFLAGS_DEBUG="-nologo -Zi -Od"
		    CFLAGS_OPTIMIZE="-nologo -Ox"
		    lversion=`echo ${CEVERSION} | sed -e 's/\(.\)\(..\)/\1\.\2/'`
		    lflags="-MACHINE:${ARCH} -LIBPATH:\"${CELIBPATH}\" -subsystem:windowsce,${lversion} -nologo"
		    LINKBIN="\"${CEBINROOT}/link.exe\""
		    AC_SUBST(CELIB_DIR)
		else
		    RC="rc"
		    lflags="-nologo"
		    LINKBIN="link"
		    CFLAGS_DEBUG="-nologo -Z7 -Od -W3 -WX ${runtime}d"
		    CFLAGS_OPTIMIZE="-nologo -O2 -W2 ${runtime}"
		fi
	    fi

	    if test "$GCC" = "yes"; then






>
>
>
>
>
>
>
>






|







 







|




|







1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
....
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
	    if test "$GCC" != "yes" ; then
	        if test "${SHARED_BUILD}" = "0" ; then
		    runtime=-MT
	        else
		    runtime=-MD
	        fi
	        case "x`echo \${VisualStudioVersion}`" in
	            x14*)
		        lflags="${lflags} -nodefaultlib:libucrt.lib"
		        TEA_ADD_LIBS([ucrt.lib])
	            ;;
	            *)
	            ;;
	        esac

                if test "$do64bit" != "no" ; then
		    # All this magic is necessary for the Win64 SDK RC1 - hobbs
		    CC="\"${PATH64}/cl.exe\""
		    CFLAGS="${CFLAGS} -I\"${MSSDK}/Include\" -I\"${MSSDK}/Include/crt\" -I\"${MSSDK}/Include/crt/sys\""
		    RC="\"${MSSDK}/bin/rc.exe\""
		    lflags="${lflags} -nologo -MACHINE:${MACHINE} -LIBPATH:\"${MSSDK}/Lib/${MACHINE}\""
		    LINKBIN="\"${PATH64}/link.exe\""
		    CFLAGS_DEBUG="-nologo -Zi -Od -W3 ${runtime}d"
		    CFLAGS_OPTIMIZE="-nologo -O2 -W2 ${runtime}"
		    # Avoid 'unresolved external symbol __security_cookie'
		    # errors, c.f. http://support.microsoft.com/?id=894573
		    TEA_ADD_LIBS([bufferoverflowU.lib])
		elif test "$doWince" != "no" ; then
................................................................................
			AC_DEFINE_UNQUOTED($i, 1, [WinCE def ]$i)
		    done
		    AC_DEFINE_UNQUOTED(_WIN32_WCE, $CEVERSION, [_WIN32_WCE version])
		    AC_DEFINE_UNQUOTED(UNDER_CE, $CEVERSION, [UNDER_CE version])
		    CFLAGS_DEBUG="-nologo -Zi -Od"
		    CFLAGS_OPTIMIZE="-nologo -Ox"
		    lversion=`echo ${CEVERSION} | sed -e 's/\(.\)\(..\)/\1\.\2/'`
		    lflags="${lflags} -MACHINE:${ARCH} -LIBPATH:\"${CELIBPATH}\" -subsystem:windowsce,${lversion} -nologo"
		    LINKBIN="\"${CEBINROOT}/link.exe\""
		    AC_SUBST(CELIB_DIR)
		else
		    RC="rc"
		    lflags="${lflags} -nologo"
		    LINKBIN="link"
		    CFLAGS_DEBUG="-nologo -Z7 -Od -W3 -WX ${runtime}d"
		    CFLAGS_OPTIMIZE="-nologo -O2 -W2 ${runtime}"
		fi
	    fi

	    if test "$GCC" = "yes"; then