summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
Commit message (Collapse)AuthorAgeFilesLines
* handle --enable-64bit=ia64 for gccnijtmans2011-01-121-18/+24
| | | | more accurate test for correct <intrin.h>
* Change first parameter of TclSockMinimumBuffers to ClientData, and ↵nijtmans2010-12-101-2/+5
| | | | TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit.
* silence gcc warning when using -Wwrite-stringsnijtmans2010-12-031-3/+0
| | | | | | silence gcc warning for non-IEEE platforms [Patch #3116490] cross-compile Tcl mingw32 on unix. This makes it possible to cross-compile Tcl/Tk for Windows (either 32-bit or 64-bit) out-of-the-box on UNIX, using mingw-w64 build tools.
* [FRQ 491789]: "setargv() doesn't support a unicode cmdline" now implemented ↵nijtmans2010-11-171-1/+19
| | | | for mingw-w64
* Bring compilation under mingw-w64 a bit closer to realitynijtmans2010-11-161-1/+1
|
* [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-10-111-2/+2
| | | | Add netapi32 to the windows link line, so we no longer have to use LoadLibrary to access those functions.
* Add kernel32 to LIBS, so the link line for mingw is exactly the same as for ↵nijtmans2010-09-221-1/+1
| | | | MSVC++
* Fix declaration after statement.nijtmans2010-09-211-1/+1
| | | | | Add -Wdeclaration-after-statement, so this mistake cannot happen again.
* mingw should always link with -ladvapi32nijtmans2010-09-091-14/+14
| | | | | | | | | Remove ascii variant of tkWinPocs table, it is no longer necessary. Fix CreateProcess signature and remove unused GetModuleFileName and lstrcpy mingw/cygwin fixes: <tchar.h> should always be included, and fix conflict in various macro values: Always force the same values as in VC++.
* * win/tcl.m4: Applied patch by Jeff fixing issues with theandreas_kupries2010-08-311-2/+4
| | | | | manifest handling on Win64. * win/configure: Regenerated.
* * win/Makefile.in (VC_MANIFEST_EMBED_DLL VC_MANIFEST_EMBED_EXE):hobbs2010-08-271-0/+50
| | | | | | | * win/configure, win/configure.in, win/tcl.m4: SC_EMBED_MANIFEST macro and --enable-embedded-manifest configure arg added to support manifest embedding where we know the magic. Help prevents DLL hell with MSVC8+.
* Flip the defaults for whether to build threaded. Part of TIP #364.dkf2010-04-051-2/+2
|
* use -pipe for gcc on win32 (mingw/cygwin)nijtmans2010-02-131-10/+2
|
* Revert [2009-12-21] change in tcl.h, in steadnijtmans2010-01-221-0/+16
| | | | | | | | resolve the CYGWIN inclusion problems by re-arranging the inclusions at other places. Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures.
* #undef STATIC_BUILD in tclWin(Dde|Reg).c, in order to makenijtmans2009-11-231-11/+8
| | | | | | | | | | | sure that Xxxxx_Init is always exported even when Tcl is built static (otherwise we cannot create a DLL). tclThreadTest.c: Make all functions static, except TclThread_Init. fCmd.test Enable fCmd-30.1 when registry is available. tcl.m4 Fix ${SHLIB_LD_LIBS} definition, fix conflicts configure.in between static libraries and import library on windows. configure (regenerated) Makefile.in Simplifications related to tcl.m4 changes.
* Fix [Bug 2883850]: pkgIndex.tcl doesn'tnijtmans2009-11-181-12/+8
| | | | get created with static Tcl build
* [Bug 2827066] msys build --enable-symbols brokennijtmans2009-07-261-0/+1
| | | | | And modified the same for unicows.dll, as a preparation for [Enh 2819611]
* * win/tcl.m4, win/configure: Check if cl groks _WIN64 already tohobbs2009-02-171-3/+7
| | | | | avoid CC manipulation that can screw up later configure checks. Use 'd'ebug runtime in 64-bit builds.
* fix build of zlib objects with msvcnijtmans2008-12-231-1/+1
|
* Improve build rules on Win w.r.t. zlibdkf2008-12-141-1/+1
| | | | Improve autoconf magic on Unix and Win
* Eliminate warning: different 'const' qualifiersnijtmans2008-12-111-2/+2
| | | | | with msvc compiler. A few more 'const' optimizations. fix Windows build (msvc) for TIP #234 implementation
* Eliminate warning: passing arg 4 of `Tcl_SplitList' fromnijtmans2008-11-111-1/+1
| | | | | | incompatible pointer type reverted change from 2008-11-06 (was under the impression that "-Wno-implicit-int" added an extra warning)
* add "-Wno-implicit-int" for gcc, as on UNIXnijtmans2008-11-061-1/+1
| | | | eliminate an 'array index out of bounds' warning on HP-UX'
* * tests/chanio.test (chan-io-53.9):Kevin B Kenny2008-04-061-1/+4
| | | | | | | | | | | * tests/io.test (io-53.9): Made test cleanup robust against the possibility of slow process shutdown on Windows. * win/tcl.m4: Added -D_CRT_SECURE_NO_DEPRECATE and -DCRT_NONSTDC_NO_DEPRECATE to the MSVC compilation flags so that the compilation doesn't barf on perfectly reasonable Posix system calls. * win/configure: Manually patched (don't have the right autoconf to hand).
* * README: Bump version number to 8.6a0dgp2008-04-011-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * macosx/Tcl-Common.xcconfig: * macosx/Tcl.pbproj/default.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/configure.in: * win/makefile.bc: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tclBasic.c: Revised stubs-generation tool and interp * tools/genStubs.tcl: creation so that "tclStubsPtr" is not present * unix/Makefile.in: in libtcl.so, but is present only in libtclstub.a. This tightens up the rules for users of the stubs interfaces. [Bug 1819422] * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclTomMathDecls.h:
* * win/configure, win/tcl.m4 (LIBS_GUI): mingw needs -lole32hobbs2007-12-051-1/+2
| | | | -loleaut32 but not msvc for Tk's [send]. [Bug 1844749]
* * win/configure, win/tcl.m4 (LIBS_GUI): remove ole32.lib oleaut32.libhobbs2007-12-031-2/+2
|
* * win/configure, win/tcl.m4: add ws2_32.lib / -lws2_32 to build.hobbs2007-11-301-3/+3
| | | | | * win/tclWinSock.c: remove dyn loading of winsock, assume that it is always available now.
* * win/tcl.m4(CFLAGS_WARNING): Remove "-Wconversion".jenglish2007-01-111-1/+1
| | | | | This was removed from unix/tcl.m4 2004-07-16 but not from here. * win/configure: Regenerated.
* * unix/tcl.m4, win/tcl.m4: []-quote AC_DEFUN functions.hobbs2006-03-281-12/+12
|
* * win/configure: Regen.mdejong2005-12-101-0/+3
| | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Define MACHINE for gcc builds. The lack of a definition of this variable in the manifest file was causing a runtime error in wish built with gcc.
* * win/Makefile.in, win/makefile.vc: Add Win x64 and CE build supporthobbs2005-12-081-23/+147
| | | | * win/tcl.m4, win/configure: CE still requires C code fixes.
* radical refactoring of thread storage to untangle dependenciesKevin B Kenny2005-08-111-3/+0
|
* * unix/configure: Regen.mdejong2005-07-251-17/+37
| | | | | | | | | | | | | * unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH): * win/configure: Regen. * win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH): Split confused search for tclsh on PATH and build and install locations into two macros. SC_PROG_TCLSH searches just the PATH. SC_BUILD_TCLSH determines the name of the tclsh executable in the Tcl build directory. [Tcl bug 1160114] [Tcl patch 1244153]
* * win/tcl.m4, win/configure: do not require cygpath in macros tohobbs2005-03-301-17/+20
| | | | allow msys alone as an alternative.
* * win/tcl.m4, win/configure: update MSVC CFLAGS_OPT to -O2, removehobbs2004-12-301-8/+11
| | | | | | | -Gs (included in -O2) and -GD (outdated). Use "link -lib" instead of "lib" binary and remove -YX for MSVC7 portability. Add -fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967] Align LIBS_GUI with Tk head needs.
* Version 5 of [Patch 976496]Joe Mistachkin2004-06-241-0/+3
|
* * win/configure:hobbs2003-10-061-25/+1
| | | | | | * win/tcl.m4: removed incorrect checks for existence of optimization. TCL_CFG_OPTIMIZED is now defined whenever the user does not build with --enable-symbols.
* * win/configure: Regen.mdejong2003-08-181-1/+1
| | | | | * win/tcl.m4 (SC_ENABLE_SYMBOLS): Use test instead of -eq, which does not work. [Bug 781109]
* * win/Makefile.in: Haven't heard back from David for a week.andreas_kupries2003-06-161-0/+59
| | | | | | | | | * win/configure: Now committing the remaining changes. * win/configure.in: Note: In active contact with Helmut Giese * win/makefile.vc: about the borland relatedchanges. This part * win/rules.vc: will see future updates. * win/tcl.m4: * win/makefile.bc:
* * win/configure: Regen.mdejong2003-04-031-0/+4
| | | | | | | | | | | * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX variable. * win/tcl.m4 (SC_CONFIG_CFLAGS): Set new LIBFLAGSUFFIX that works like LIBSUFFIX, it is used when creating library names. The previous implementation would generate -ltclstub85 instead of -ltclstub85s when configured with --disable-shared.
* * win/tcl.m4 (SC_WITH_TCL): Port version numbermdejong2003-03-131-4/+4
| | | | fix that was made in tk instead of tcl sources.
* * README: Bumped version number ofdgp2003-03-041-10/+10
| | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: Tcl to 8.5a0. * library.init.tcl: * mac/README: * macosx/Tcl.pbproj/project.pbxproc: * tests/basic.test: * tools/configure.in: * tools/tcl.hpj.in: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/README.binary: * win/configure.in: * win/makefile.bc: * win/makefile.vc: * win/tcl.m4: * tools/configure: autoconf * unix/configure: * win/configure:
* * win/configure: Regen.mdejong2003-01-211-1/+6
| | | | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Set SHLIB_SUFFIX so that TCL_SHLIB_SUFFIX will be set to a useful value in the generated tclConfig.sh. Set SHLIB_LD_LIBS to "" or '${LIBS}' based on the --enable-shared flag. This matches the UNIX implementation.
* * win/configure: Regen.mdejong2003-01-131-2/+2
| | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Pull in addition of shell32.lib to LIBS_GUI that was added to the Tk tcl.m4 but never made it back into the Tcl version.
* * generic/tcl.h: Skip Tcl's define of CHAR,mdejong2003-01-131-2/+3
| | | | | | | | | | | | | | SHORT, and LONG when HAVE_WINNT_IGNORE_VOID is defined. This avoids a bunch of compiler warnings when building with Cygwin or Mingw. * win/configure: Regen. * win/configure.in: Define HAVE_WINNT_IGNORE_VOID when we detect a winnt.h that still defines CHAR, SHORT, and LONG when VOID has already been defined. * win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst the TCL_DEFS loaded from tclConfig.sh so that Tcl defines can make it into the Tk Makefile.
* * win/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.hobbs2002-10-221-40/+26
| | | | | | | * win/configure: regen * win/configure.in: removed SC_ENABLE_MEMDEBUG call * win/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
* * win/configure: add workaround for cygwin windreshobbs2002-10-171-0/+25
| | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): problem. [Patch #624010] (howell)
* * win/configure:hobbs2002-10-111-0/+3
| | | | | * win/tcl.m4: enable USE_THREAD_ALLOC (new threaded allocator) by default in cygwin configure on Windows.
* 2002-09-18 Mumit Khan <khan@nanotech.wisc.edu>hobbs2002-09-271-8/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added basic Cygwin support. * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build. (SC_PATH_TKCONFIG): Likewise. (SC_PROG_TCLSH): Likewise. (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW. * win/configure.in: Allow Cygwin build. (SEH test): Define to be 1 instead of empty value. (EXCEPTION_DISPOSITION): Add test. * win/configure: Regenerate. * generic/tcl.h: Don't explicitly define __WIN32__ for Cygwin, let the user decide whether to use Windows or POSIX personality. (TCL_WIDE_INT_TYPE, TCL_LL_MODIFIER, struct Tcl_StatBuf): Define for Cygwin. * generic/tclEnv.c (Tcl_CygwinPutenv): putenv replacement for Cygwin. * generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX to native format. (TclDoGlob): Likewise. * generic/tclPlatDecls.h (TCHAR): Define for Cygwin. * win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree, TclpSysRealloc): Define for Cygwin.