summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * win/Makefile.in (CFLAGS):andreas_kupries2002-08-221-0/+36
| | | | | | | | | | * unix/Makefile.in (MEM_DEBUG_FLAGS): Added usage of @MEM_DEBUG_FLAGS@. * win/configure.in: * unix/configure.in: Added usage of SC_ENABLE_MEMDEBUG. * win/tcl.m4: * unix/tcl.m4: Added macro SC_ENABLE_MEMDEBUG. Allows a user of configure to (de)activate memory validation and debugging (TCL_MEM_DEBUG). No need to modify the makefile anymore.
* * tcl.m4: Enabled COFF as well as CV style debug info withhobbs2002-04-121-1/+1
| | | | | | --enable-symbols to allow Dr. Watson users to see function info. More info on debugging levels can be obtained at: http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
* * unix/tcl.m4 (SC_LOAD_TCLCONFIG):mdejong2002-01-291-4/+30
| | | | | | | | | | | * win/tcl.m4 (SC_LOAD_TCLCONFIG): Set TCL_LIB_SPEC, TCL_STUB_LIB_SPEC, and TCL_STUB_LIB_PATH to the values of TCL_BUILD_LIB_SPEC, TCL_BUILD_STUB_LIB_SPEC, and TCL_BUILD_STUB_LIB_PATH when tclConfig.sh is loaded from the build directory. A Tcl extension should make use of the non-build versions of these variables since they will work in both cases. This modification was described in TIP 34.
* * unix/tcl.m4 (SC_LOAD_TCLCONFIG):mdejong2002-01-171-2/+5
| | | | | | | * win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst TCL_DBGX into TCL_STUB_LIB_FILE and TCL_STUB_LIB_FLAG variables so that an extension does not need to subst TCL_DBGX into its makefile. [Tk Bug 504356]
* * win/configure: Regen.mdejong2001-11-251-2/+2
| | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Add comctl32.lib to wish link libs. This change was originally added to Tk on 2001-11-09 but was not committed to Tcl.
* * unix/configure:hobbs2001-10-151-0/+6
| | | | | | | | * unix/configure.in: * win/configure: * win/configure.in: * win/tcl.m4: reworked to be a little cleaner in comparison to each other, and to AC_SUBST even empty vars for win/tclConfig.sh
* added Win64 SDK RC1 compilation supporthobbs2001-10-011-26/+53
|
* * win/tcl.m4: Added -link50compat option so a VC6 linker makesdavygrvy2001-09-081-1/+1
| | | | | a VC5 (pre sp3) compatible import library. [Bug: 219257]
* * win/configure: regeneratedhobbs2001-08-041-4/+6
| | | | | | | | * win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll. This is necessary for TEA compliant builds that build shared against a static-built Tcl. * win/Makefile.in ($(TCLSH)): added $(TCL_STUB_LIB_FILE) to build target, otherwise it wouldn't get generated in a static build.
* * unix/Makefile.in: Add AR variable for use in STLIB_LD.mdejong2001-07-111-4/+4
| | | | | | | | | | | | | | * unix/configure: Regen. * unix/configure.in: Use STLIB_LD when defining MAKE_LIB and MAKE_STUB_LIB. Subst RANLIB and AR. * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add doc comment about STLIB_LD command. Check ${AR} env var when setting STLIB_LD and delay evaluation until make time. * win/configure: Regen. * win/tcl.m4 (SC_CONFIG_CFLAGS): Delay evaluation of ${AR} in STLIB_LD and add flags to better match the Unix implementation. Don't bother defining AR when using VC++ since it is not used.
* * win/configure: Regen.mdejong2001-07-061-1/+8
| | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Pass -e _WinMain@16 in addition to the -mwindows flag to work around a problem with ld when it incorrectly use main() as the executable entry point when both WinMain() and main() are available.
* * win/Makefile.in: Subst DEPARG directly insteadmdejong2001-07-061-3/+9
| | | | | | | | | | | | | | | of relying on a variable. This will make Cygwin build faster since an extra exec will be avoided. * win/configure: Regen. * win/configure.in: Subst DEPARG. * win/tcl.m4 (SC_CONFIG_CFLAGS): Move AC_MSG_CHECKING after the AC_CHECK_PROG so that status messages do not get mixed together. Set DEPARG based on the results of the cygpath check so that we avoid using an extra exec when it is not needed. Use ac_cv_cygwin status flag instead of looking at the output of gcc -v, which works in the case where -mno-cygwin is set in the CFLAGS.
* * win/Makefile.in: Remove PATHTYPE variable.mdejong2001-07-041-11/+3
| | | | | | | | | | * win/configure: Regen. * win/configure.in: Don't subst PATHTYPE. * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove PATHTYPE variable. Set CYGPATH to "cygpath -w" if the cygpath executable is found on the path. This approach works for native Cygwin builds and cross compiles.