summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
Commit message (Collapse)AuthorAgeFilesLines
* Backport various improvements from Tcl 8.5jan.nijtmans2013-02-121-8/+8
|
* only expect tcldde.dll when --enable-sharedjan.nijtmans2012-06-281-1/+1
|
* fix bug in cygwin's [info nameofexecutable]jan.nijtmans2012-06-271-1/+1
| | | install dde and registry dll for cygwin
* fix some gcc 64-bit warningsjan.nijtmans2012-06-261-6/+6
| | | quoting improvements
* first working version of Cygwin notifierbug_3508771jan.nijtmans2012-06-221-0/+6
|
* make some more internal tables constjan.nijtmans2012-04-231-6/+15
| | | On cygwin, install dll's in /usr/bin, not in /usr/lib
* [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-0/+1
|
* now ready for further field testsbug_3511806jan.nijtmans2012-03-291-2/+20
|
* some better checksjan.nijtmans2012-03-281-3/+3
|
* extra checks whether we are really dealing with cygwin or notjan.nijtmans2012-03-281-0/+13
|
* add TclWinConvertError and TclWinConvertWSAError for cygwinjan.nijtmans2012-03-221-3/+1
|
* Patch from the cygwin folksjan.nijtmans2012-03-041-0/+3
|
* Add --disable-rpath option to configure scriptjan.nijtmans2011-09-061-25/+44
|
* Make SHLIB_LD_LIBS='${LIBS}' the default and et to "" on per-platform ↵jan.nijtmans2011-08-301-88/+70
| | | | necessary basis. Add Haiku support and better NetBSD/FreeBSD support.
* [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-109/+160
|
* SHLIB_LD_LIBS='${LIBS}' for OSF1-V*.jan.nijtmans2011-03-161-39/+42
| | | | | Add /usr/lib64 to set of auto-search dirs. [Bug 1230554] (SC_PATH_X): Correct syntax error when xincludes not found. Backported from Tcl 8.5
* * unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): harden the checkhobbs2009-04-281-2/+3
| | | | to add _r to CC on AIX with threads.
* Removed -Wno-implicit-int from CFLAGS_WARNING.stwo2009-04-141-1/+1
|
* * unix/tcl.m4 (SC_PATH_X): check for libX11.dylib in addition todas2008-08-131-1/+1
| | | | libX11.so et al.
* duh, fix missing 'fi', thanks aku!das2008-06-121-1/+2
|
* * unix/tcl.m4 (SunOS-5.11): fix 64bit amd64 support with gcc & Sun cc.das2008-06-121-14/+30
|
* * unix/tcl.m4 (SunOS-5.1x): fix 64bit support for Sun cc. [Bug 1921166]das2008-03-271-1/+1
|
* typo fixesdgp2007-11-051-1/+1
|
* * unix/tcl.m4 (SunOS-5.1x): replace direct use of '/usr/ccs/bin/ld'das2007-09-151-1/+6
| | | | | in SHLIB_LD by 'cc' compiler driver. * unix/configure: autoconf-2.13
* * unix/configure.in (Darwin): add plist for tclsh; link thedas2007-06-061-9/+14
| | | | | | | | * unix/Makefile.in (Darwin): Tcl and tclsh plists into their * macosx/Tclsh-Info.plist.in (new): binaries in all cases. * unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds. * unix/configure: autoconf-2.13
* * macosx/tclMacOSXNotify.c: add spinlock debugging and sanity checks.das2007-03-071-1/+1
| | | | | * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check. * unix/configure: autoconf-2.13
* * unix/tcl.m4: use SHLIB_SUFFIX=".so" on HP-UX ia64 arch.hobbs2007-02-191-1/+5
| | | | * unix/configure: autoconf-2.13
* renamed SC_COMMANDS_PRE to SC_CONFIG_COMMANDS_PRE for parity with AC 2.5xdas2007-01-261-3/+3
|
* previous commit omitted some changes from the HEADdas2007-01-251-3/+2
|
* *** empty log message ***das2007-01-251-1/+1
|
* * unix/tcl.m4: integrate CPPFLAGS into CFLAGS as late as possibledas2007-01-251-1/+28
| | | | | | | | * unix/configure.in: and move (rather than duplicate) -isysroot flags from CFLAGS to CPPFLAGS to avoid errors about multiple -isysroot flags from some older gcc builds. * unix/configure: autoconf-2.13
* * macosx/tclMacOSXNotify.c: accommodate changes to prototypes ofdas2007-01-191-0/+7
| | | | | | | | | | | | | | OSSpinLock(Un)Lock API. * tests/env.test: add extra system env vars that need to be preserved on some Mac OS X versions for testsuite to work. * unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861] (Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when present in CFLAGS to avoid discrepancies between what headers configure sees during preprocessing tests and compiling tests. * unix/configure: autoconf-2.13
* * unix/tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -archdas2006-12-191-5/+23
| | | | | flag succeeds before enabling 64bit build. * unix/configure: autoconf-2.13
* * tcl.m4 (Linux): --enable-64bit support. [Patch 1597389], [Bug 1230558]das2006-11-261-1/+13
| | | | * configure: autoconf-2.13
* * library/msgcat/msgcat.tcl (msgcat::Init): on Darwin, add fallback ofdas2006-09-101-264/+230
| | | | | | | | | | * tests/msgcat.test: default msgcat locale to * unix/tclUnixInit.c (TclpSetVariables): current CFLocale identifier if available (via private ::tcl::mac::locale global, set at interp init when on Mac OS X 10.3 or later with CoreFoundation). * unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers. * unix/configure: autoconf-2.13
* Added MT-safe implementation of some library calls.vasiljevic2006-09-061-0/+398
| | | | See Tcl Bug 999544 for more information.
* * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, fordas2006-08-181-8/+33
| | | | | | | | | | | | | | universal builds including x86_64, for 64-bit CoreFoundation on Leopard and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET. * unix/configure: autoconf-2.13 * generic/tcl.h: add fixes for building on Leopard and support for * unix/tclUnixPort.h: 64-bit CoreFoundation on Leopard. * unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it causes execve to fail intermittently. (rdar://4685553) * macosx/README: updates for x86_64 support and Xcode 2.3.
* cleanup quoting and whitespacedas2006-07-201-2/+2
|
* * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): createdas2006-07-201-48/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notifier thread lazily upon first call to Tcl_WaitForEvent() rather than in Tcl_InitNotifier(). Allows calling exeve() in processes where the event loop has not yet been run (Darwin's execve() fails in processes with more than one thread), in particular allows embedders to call fork() followed by execve(), previously the pthread_atfork() child handler's call to Tcl_InitNotifier() would immediately recreate the notifier thread in the child after a fork. * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): add support for * unix/tclUnixFCmd.c (DoRenameFile, CopyFileAtts): weakly importing * unix/tclUnixInit.c (TclpSetInitialEncodings): symbols not available on OSX 10.2 or 10.3, enables binaires built on later OSX versions to run on earlier ones. * macosx/README: document how to enable weak-linking; cleanup. * unix/tclUnixPort.h: add support for weak-linking; conditionalize AvailabilityMacros.h inclusion; only disable realpath on 10.2 or earlier when threads are enabled. * unix/tclLoadDyld.c (TclpLoadMemoryGetBuffer): change runtime Darwin * unix/tclUnixInit.c (TclpInitPlatform): release check to use global initialized once. * unix/tclUnixFCmd.c (DoRenameFile, TclpObjNormalizePath): add runtime Darwin release check to determine if realpath is threadsafe. * unix/configure.in: add check on Darwin for compiler support of weak * unix/tcl.m4: import and for AvailabilityMacros.h header; move Darwin specific checks & defines that are only relevant to the tcl build out of tcl.m4; restrict framework option to Darwin; cleanup quoting. * unix/configure: autoconf-2.13 * unix/tclLoadDyld.c (TclpLoadMemory): * unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
* * macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler thatdas2006-05-271-38/+39
| | | | | | | | | | | | * unix/tcl.m4 (Darwin): recreates CoreFoundation state and notifier thread in the child after a fork(). Note that pthread_atfork() is available starting with Tiger only. Because vfork() is used by the core on Darwin, [exec]/[open] are not affected by this fix, only extensions or embedders that call fork() directly (such as TclX). However, this only makes fork() safe from corefoundation tcl with --disable-threads; as on all platforms, forked children may deadlock in threaded tcl due to the potential for stale locked mutexes in the child. [Patch 923072] * unix/configure: autoconf-2.59
* sync 2006-05-24 change to tcl HEADdas2006-05-261-1/+1
|
* * unix/tcl.m4: removed TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKINGdas2006-04-061-1/+0
| | | | | define on Darwin. [Bug 1457515] * unix/configure: autoconf-2.13
* []-quote ac_defun functionshobbs2006-03-021-24/+24
|
* * unix/tcl.m4: Fix for tk bug #1334613 to sort out shared librarypatthoyts2006-03-021-1/+1
| | | | * unix/configure: issues on NetBSD. Regenerated configure script.
* * unix/configure: add caching, use AC_CACHE_CHECK instead ofdas2006-01-101-189/+287
| | | | | | | * unix/configure.in: AC_CACHE_VAL where possible, consistent message * unix/tcl.m4: quoting, sync relevant tclconfig/tcl.m4 and HEAD changes and gratuitous formatting differences, fix SC_CONFIG_MANPAGES with default argument, Darwin improvements to SC_LOAD_*CONFIG.
* * unix/tcl.m4, unix/configure: Fix sh quoting error reported inhobbs2005-12-121-2/+2
| | | | bash-3.1+ [Bug 1377619] (schafer)
* * unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset.das2005-12-011-3/+2
| | | | * unix/configure: regen.
* * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-271-57/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4, sync whitespace with HEAD. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixPort.h: * unix/tclUnixFCmd.c: add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: sync with HEAD. * macosx/README: clarification/cleanup, sync with HEAD, document universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * macosx/Makefile: add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tclIOUtil.c: * generic/tclRegexp.c: * generic/tclVar.c: declare globals used only in own file as static (sync with HEAD). * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/regguts.h: only #define NDEBUG if not already #defined. * macosx/tclMacOSXNotify.c: sync whitespace & comments with HEAD * unix/configure: regen.
* * unix/tcl.m4: Added code to enable [load] on LynxOS. Thanks todgp2005-11-041-0/+12
| | | | | | heidibr@users.sf.net for the patch. [Bug 1163896]. * unix/configure: autoconf-2.13.
* Added yet another corner-case hack, this time for RHEL3. [Bug 1287638]dkf2005-09-151-0/+3
|