| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* win/configure.in: check for 'g' for debug build type, not 'd'.
* win/rules.vc (DBGX): correct to use 'g' for nmake win makefile
to match the cygwin makefile for debug builds. [Bug #635107]
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* tools/tcl.wse.in:
* unix/configure:
* unix/configure.in:
* unix/tcl.m4:
* unix/tcl.spec:
* win/README.binary:
* win/configure:
* win/configure.in:
* macosx/Tcl.pbproj/project.pbxproj:
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Generate error when attempting
to build under Cygwin. The Cygwin port of Tcl/Tk
does not build and people are filing bug reports
under the mistaken impression that someone is
actually maintaining the Cygwin port. A post to
comp.lang.tcl asking someone to volunteer as an
area maintainer has generated no results.
Closing bugs 680840, 630199, and 634772 and
marking as "Won't fix".
|
|
|
|
|
|
|
|
| |
* win/configure.in: Add test that checks to
see if the compiler can cast to a union type.
* win/tclWinTime.c: Squelch compiler warning
about union initializer by casting to union
type when compiling with gcc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Define HAVE_ALLOCA_GCC_INLINE
when we detect that no alloca function is found
in malloc.h and we are compiling with GCC.
Remove HAVE_NO_ALLOC_DECL define.
* win/tclWin32Dll.c (TclpCheckStackSpace):
Don't define alloca as a cdecl function.
Doing this caused a tricky runtime bug because
the _alloca function expects the size argument
to be passed in a register and not on the stack.
To fix this problem, we use inline ASM when
compiling with gcc to invoke _alloca with the
size argument loaded into a register.
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in:
* win/tclWin32Dll.c (TclpCheckStackSpace): Rework
the SEH exception handler logic to avoid using
the stack since alloca will modify the stack.
This was causing a nasty bug that would set the
exception handler to 0 because it tried to pop
the previous exception handler off the top of
the stack.
|
|
|
|
|
|
|
|
|
| |
* 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/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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/configure.in: Check for typedefs like LPFN_ACCEPT
in winsock2.h and define HAVE_NO_LPFN_DECLS if not found.
* win/tclWinSock.c: Define LPFN_* typedefs if
HAVE_NO_LPFN_DECLS is defined. This fixes the build
under Mingw and Cygwin, it was broken by the changes
made on 2002-11-26.
|
|
|
|
|
|
|
| |
* win/configure.in: the 8.4.1.1 patchlevel.
* unix/configure: autoconf
* win/configure autoconf
|
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Generate a fatal
configure error if no ar program can be found on the
path. [Bug #582039]
* win/configure: Regen.
* win/configure.in: Check that AR, RANLIB, and RC
are found on the path when building with gcc.
|
|
|
|
|
|
|
| |
* 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:
* win/configure.in:
* win/Makefile.in:
* win/makefile.vc:
* win/makefile.bc: Updated to reg1.1
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): problem. [Patch #624010] (howell)
|
|
|
|
|
| |
* win/tcl.m4: enable USE_THREAD_ALLOC (new threaded allocator) by
default in cygwin configure on Windows.
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: of CVS snapshots with the actual 8.4.0
* tools/tcl.wse.in: release.
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* unix/configure: autoconf
* win/configure:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: HEAD from the 8.4b2 release.
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure.in:
* unix/configure: autoconf
* win/configure:
* library/http/http.tcl: Corrected installation directory of
* library/msgcat/msgcat.tcl: the package tcltest 2.2. Added
* library/opt/optparse.tcl: comments in other packages to remind
* library/tcltest/tcltest.tcl: that installation directories need
* unix/Makefile.in: updates to match increasing version
* win/Makefile.in: numbers. [Bug 597450]
* win/makefile.bc:
* win/makefile.vc:
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in:
* win/configure:
* win/configure.in: Add AC_PREREQ(2.13) in an attempt
to make it more clear that the configure scripts
must be generated with autoconf version 2.13.
[Bug 583573]
|
|
|
|
| |
the 8.4b1 release.
|
| |
|
|
|
|
|
|
| |
--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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Add configure time test for SEH
support in the compiler.
* win/tclWin32Dll.c (ESP, EBP, TclpCheckStackSpace,
_except_checkstackspace_handler):
* win/tclWinChan.c (ESP, EBP, Tcl_MakeFileChannel,
_except_makefilechannel_handler):
* win/tclWinFCmd.c (ESP, EBP, DoRenameFile,
_except_dorenamefile_handler,
DoCopyFile, _except_docopyfile_handler):
Implement SEH support under gcc using inline asm.
Tcl and Tk should now compile with Mingw 1.1. [Patch 525746]
|
|
|
|
|
|
|
| |
* unix/configure.in:
* win/configure: Regen.
* win/configure.in: Use ${libdir} instead of ${exec_prefix}/lib
to properly support the --libdir option to configure. [Bug 489370]
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
included by extensions that need to find Tcl include
headers in the install location. The user can override
the include install dir with --includedir so we need
to record this information for extensions. [Tcl bug 421835]
* unix/configure: Regen.
* unix/configure.in: Define TCL_INCLUDE_SPEC.
* unix/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
* win/configure: Regen.
* win/configure.in: Define TCL_INCLUDE_SPEC.
* win/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
|
|
|
|
|
|
|
|
|
|
|
|
| |
4.X is known not to work.
Indicate that Mingw is required and building with Cygwin
gcc is not supported. Include instructions that indicate
how to install Mingw and what URLs folks should use to
download the supported version of Mingw.
* win/configure: Regen.
* win/configure.in: Error out if user tries to compile the
Windows version of Tcl with Cygwin gcc. Users should compile
with Mingw gcc instead.
|
| |
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
| |
* win/configure.in:
* win/makefile.bc:
* win/makefile.vc:
* library/reg/pkgIndex.tcl
* library/dde/pkgIndex.tcl: Fixed version numbers from bogus tcl
versions to independent versions for dde and registry packages.
|
|
|
|
|
| |
CVS snapshots from the 8.4a3 release. This does not necessarily
mean there will be an 8.4a4 release. [Bug 448938].
|
|
|
|
|
|
|
|
| |
* 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/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/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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/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.
|
|
|
|
| |
to ${AR} when using gcc, verbose output is not needed.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* unix/configure.in: Fix last checkin by removing
export since that only works in bash.
* win/configure: Regen.
* win/configure.in: Ditto.
|
|
|
|
|
|
|
|
| |
* unix/configure.in: Set CFLAGS to "" if the user
did not set CFLAGS in the env. This keeps AC_PROG_CC
from adding "-g -O2" to the CFLAGS by default.
* win/configure: Regen.
* win/configure.in: Ditto.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
imm32 library when building with mingw gcc.
|
|
|
|
|
|
|
|
| |
* 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.in: Add resource compiler fix from
8.3.3 to fix compiling with mingw.
|
|
|
|
| |
* win/tcl.m4: Fix silly typo in last checkin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|