summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't pass the v flagmdejong2001-07-031-1/+1
| | | | to ${AR} when using gcc, verbose output is not needed.
* * win/Makefile.in: Use : to separate VPATH entries. Thismdejong2001-06-271-3/+0
| | | | | | | | works for both Cygwin builds and cross builds, the VPSEP variable is simply unneeded complexity. * win/configure: Regen. * win/configure.in: Don't subst VPSEP. * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove VPSEP variable.
* * win/configure: Regen.mdejong2001-06-261-0/+2
| | | | | | * win/configure.in: Use RC_DEFINE flag from tcl.m4. * win/tcl.m4 (SC_CONFIG_CFLAGS): Set RC_DEFINE flag based on the compiler in use.
* * win/tcl.m4 (SC_CONFIG_CFLAGS): Link to themdejong2001-06-261-1/+1
| | | | imm32 library when building with mingw gcc.
* * win/configure: Regen.mdejong2001-06-261-29/+11
| | | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): When building with gcc, don't attempt to link with LD or support dllwrap. Simply require a recent version of Cygwin gcc or Mingw gcc that supports -shared. When linking, use gcc instead of ld since gcc automatically includes libs like -lmsvcrt.
* * win/configure: Regen.mdejong2001-06-231-1/+1
| | | | * win/tcl.m4: Fix silly typo in last checkin.
* * unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.mdejong2001-06-221-5/+5
| | | | | | | | | | | | | | | | | | | | Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works. This will support user set CFLAGS or LDFLAGS at configure time. * unix/configure: Regen. * unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEFAULT, LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE. * unix/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that it uses a Makefile variable just like CFLAGS_DEFAULT. * win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@. Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. This will support user set CFLAGS or LDFLAGS at configure time. * win/configure: Regen. * win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile. * win/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that it uses a Makefile variable just like CFLAGS_DEFAULT.
* * win/configure:mdejong2001-06-221-2/+2
| | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't set LDFLAGS_DEBUG to -g or LDFLAGS_OPTIMIZE to -O when compiling with gcc. These flags are not needed and can cause problems with the Cygwin version of ld.
* * unix/tcl.m4 (SC_LOAD_TKCONFIG):mdejong2001-05-231-2/+2
| | | | | | Remove use of undefined TCLCONFIG variable and call AC_MSG_RESULT to print the checking result. * win/tcl.m4: Ditto.
* * unix/Makefile.in: Add a LDFLAGS variable to themdejong2001-05-111-4/+4
| | | | | | | | | | | | | | Makefile instead of directly substing @LDFLAGS@. * unix/configure: Regen. * unix/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile variable is passed as @CFLAGS@.win/tcl.m4 * win/Makefile.in: Move the setting of CFLAGS higher up in the Makefile. * win/configure: Regen. * win/configure.in: Use dnl to comment out macros so that they are not accidently expanded. * win/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile variable is passed as @CFLAGS@.
* * unix/configure: Regen.mdejong2001-04-251-0/+1
| | | | | | | | * unix/tcl.m4: Subst TCL_THREADS into tclConfig.sh. * unix/tclConfig.sh.in: Add TCL_THREADS variable. * win/configure: Regen. * win/tcl.m4: Subst TCL_THREADS into tclConfig.sh. * win/tclConfig.sh.in: Add TCL_THREADS variable.
* * win/configure:hobbs2001-04-031-1/+1
| | | | * win/tcl.m4 (SHLIB_LD): added -incremental:no. [Bug #219381]