| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
added mutex wrapped calls to readdir, localtime & gmtime in
case their thread-safe *_r counterparts are not available.
* unix/tcl.m4: added configure check for readdir_r
* unix/tcl.m4 (Darwin): set TCL_DEFAULT_ENCODING to utf-8 on
MacOSX (where posix file apis expect utf-8, not iso8859-1).
* unix/configure: regen
* unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel
to LD_LIBRARY_PATH for MacOSX dynamic linker.
* generic/tclEnv.c (TclSetEnv): fix env var setting on
MacOSX (adapted from patch #524352 by jkbonfield).
|
|
|
|
|
|
|
|
| |
TclMathInProgress and Unix implementation of matherr(). These
are now obsolete, dealing with very old versions of the C math
library. Windows version is retained in case Borland compilers
require it, but it is inactive. Thanks to Joe English.
[Bug 474335, Patch 555635].
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in: replaced bigendian check with autoconf
standard AC_C_BIG_ENDIAN, which defined WORDS_BIGENDIAN on
bigendian systems.
* generic/tclUtf.c (Tcl_UniCharNcmp):
* generic/tclInt.h (TclUniCharNcmp): use WORDS_BIGENDIAN instead of
TCL_OPTIMIZE_UNICODE_COMPARE to enable memcmp alternative.
|
| |
|
|
|
|
|
| |
probably optimized far in excess of anything we could do! Little-endian
just use the old code...
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in: Invoke SC_ENABLE_SHARED before
calling SC_CONFIG_CFLAGS so that the SHARED_BUILD
variable can be checked inside SC_CONFIG_CFLAGS.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Pass -non_shared
instead of -shared to ld when configured with
--disable-shared under OSF. [Tcl bug 540390]
|
|
|
|
|
| |
* unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so
that the .sl knows its dependent libs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h:
* generic/tclThreadAlloc.c (new):
* unix/Makefile.in:
* unix/tclUnixThrd.c:
* win/Makefile.in:
* win/tclWinInt.h:
* win/tclWinThrd.c: added new threaded allocator contributed by
AOL that significantly reduces lock contention when multiple
threads are in use. Only Windows and Unix implementations are
ready, and the Windows one may need work. It is only used by
default on Unix for now, and requires that USE_THREAD_ALLOC be
defined (--enable-threads on Unix will define this).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h:
* generic/tclThreadAlloc.c (new):
* unix/Makefile.in:
* unix/tclUnixThrd.c:
* win/Makefile.in:
* win/tclWinInt.h:
* win/tclWinThrd.c: added new threaded allocator contributed by
AOL that significantly reduces lock contention when multiple
threads are in use. Only Windows and Unix implementations are
ready, and the Windows one may need work. It is only used by
default on Unix for now, and requires that USE_THREAD_ALLOC be
defined (--enable-threads on Unix will define this).
|
| |
|
|
|
|
|
| |
* unix/tcl.m4 (SC_SERIAL_PORT): added sys/modem.h check and defined
_XOPEN_SOURCE_EXTENDED for HP-11 to get updated header decls.
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Link with -n32
instead of -32 when building on IRIX64-6.* system.
[Tcl bug 521707]
|
|
|
|
|
| |
* unix/tcl.m4: added --enable-64bit support for AIX-4 (using -q64
flag) when using IBM's xlc compiler.
|
|
|
|
|
| |
This version builds clean on Solaris/SPARC, with GCC and CC, both with and
without threads and both in 32-bit and 64-bit mode.
|
|
|
|
|
|
| |
* unix/tcl.m4: added -pthread for FreeBSD to EXTRA_CFLAGS and
LDFLAGS. Also triggered nodots only for FreeBSD-3.
Added AC_DEFINE(_POSIX_PTHREAD_SEMANTICS) for Solaris.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
|
|
|
| |
setting for MacOSX / Darwin.
* unix/configure: Regen.
* unix/mkLinks.tcl: improved case-insensitive
filesystem support.
* unix/mkLinks: Regen.
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Update
SunOS 5.[0-6] target so that correct linker
options are passed to gcc or ld. [Tk Bug 220863]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
simply does a cd to dltest/ before running make.
There is no need for the separate configure
script that was previously being used.
* unix/configure: Regen.
* unix/configure.in: Subst into dltest/Makefile.
* unix/dltest/Makefile.in: Define LIBS using
DL_LIBS, LIBS, and MATH_LIBS variables instead
of TCL_LIBS variable from tclConfig.sh.
* unix/dltest/README: Update readme to account for new
configure free implementation.
* unix/dltest/configure: Removed.
* unix/dltest/configure.in: Removed.
|
| |
|
|
|
|
| |
A version with extra debug echos got committed by mistake.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/configure: regened
* unix/configure.in: added SC_ENABLE_LANGINFO call
* unix/tcl.m4: made SHLIB_LD_LIBS='${LIBS}' for FreeBSD* (meyer)
Added modified version of Wagner patch to make use of nl_langinfo
where possible to determine Unix platform encoding, instead of the
inflexible built-in system. This is used by default when
possible, and can be disabled with --enable-langinfo=no.
[Patch #418645] (hobbs, wagner)
|
| |
|
|
|
|
|
|
| |
* unix/configure: Regen.
* unix/tcl.m4: Add HAVE_PTHREAD_ATTR_SETSTACKSIZE define
to EXTRA_CFLAGS to adjust initial stack size.
|
|
|
|
|
|
|
|
| |
* unix/configure: Regen.
* unix/tcl.m4 (SC_ENABLE_THREADS): Check for pthread functions
in libc_r and enable thread support if found.
* unix/dltest/Makefile.in: Set SHLIB_LD_LIBS and use it in
the Makefile to properly link a shared library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* unix/tcl.m4: added --enable-64bit support for HP-11 with the
64-bit kernel.
|
|
|
|
|
| |
* unix/tcl.m4 (SC_CONFIG_CFLAGS): On Linux, disable inlining when
one of the compat/*.c routines is to be linked in. [Patch 440891]
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4: Invert the logic that checks for $GCC.
Instead of checking for "$GCC" = "no" we check for
"$GCC" != "yes" or simply swap the true and false
blocks of code in an if statement. That way if
GCC is set to "" everything will still work. [Bug 460991]
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't include . characters
in the Tcl library name when building on FreeBSD 3.X and later
systems. [Bug 450725]
|
| |
|
|
|
|
|
|
| |
* unix/configure.in:
* unix/tcl.m4: Use GCC variable set by AC_PROG_CC instead
of defining our own using_gcc variable.
|
|
|
|
|
| |
CVS snapshots from the 8.4a3 release. This does not necessarily
mean there will be an 8.4a4 release. [Bug 448938].
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/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.
|
|
|
|
|
|
| |
* unix/configure.in: Use $@ in MAKE_LIB and MAKE_STUB_LIB
commands instead of using a delayed subst variable. Replace
instances of STUB_LIB_FILE with TCL_STUB_LIB_FILE.
|
| |
|
|
|
|
|
|
| |
* unix/configure: Regen.
* unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE
instead.
|
|
|
|
| |
(Bugs #219136 and #232558)
|
|
|
|
|
|
|
| |
* unix/tcl.m4: extended test of termios vs. termio vs. sgtty to
better detect result on Linux and when certain configure
redirections are being used. (max) [Patch #402923; Bug #227412,
#219194]
|