summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
Commit message (Collapse)AuthorAgeFilesLines
* minor nits, taken over from TEA (tclconfig)jan.nijtmans2011-04-121-7/+5
|
* Make SHLIB_LD_LIBS='${LIBS}' the default and set to "" on per-platform ↵jan.nijtmans2011-03-161-33/+4
| | | | | necessary basis. Backported from TEA, but kept all original platform code which was removed from TEA.
* Cross-compile support for Win and UNIX (backported)nijtmans2010-12-131-6/+1
|
* Better building on OpenBSD.stwo2010-12-121-13/+33
|
* * unix/configure, unix/tcl.m4: SHLIB_LD_LIBS='${LIBS}' for OSF1-V*.hobbs2010-08-271-2/+4
| | | | | Add /usr/lib64 to set of auto-search dirs. [Bug 1230554] (SC_PATH_X): Correct syntax error when xincludes not found.
* * unix/ldAix: remove ancient (pre-4.2) AIX supporthobbs2010-08-121-47/+13
| | | | | | | | * unix/configure: regen with ac-2.59 * unix/configure.in, unix/tclConfig.sh.in, unix/Makefile.in: * unix/tcl.m4 (AIX): remove the need for ldAIX, replace with -bexpall/-brtl. Remove TCL_EXP_FILE (export file) and other baggage that went with it. Remove pre-4 AIX build support.
* Correct compiler/linker flags for threaded builds on OpenBSD.stwo2010-02-191-2/+7
|
* Various trivial fixes, discovered during CYGWIN porting attempt. All ↵nijtmans2010-01-061-38/+59
| | | | backported from trunk.
* Fix quoting problemdkf2010-01-031-1/+1
|
* [Bug 1636685]: Use the configuration for modern FreeBSD suggested by thedkf2010-01-031-1/+25
| | | | FreeBSD porter.
* [Patch 2892871]: Remove unneeded AC_STRUCT_TIMEZONE and usestwo2009-11-251-1/+0
| | | | AC_CHECK_MEMBERS([struct stat.st_blksize]) instead of AC_STRUCT_ST_BLKSIZE.
* * unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): harden the checkhobbs2009-04-281-3/+4
| | | | to add _r to CC on AIX with threads.
* Removed -Wno-implicit-int from CFLAGS_WARNING.stwo2009-04-141-1/+1
| | | | Regen unix/configure.
* * unix/tcl.m4: Corrected a typo ($(SHLIB_VEERSION) should be ${SHLIB_VERSION}).Kevin B Kenny2009-01-221-1/+1
| | | | * unix/configure: Autoconf 2.59
* Backport of Patch 907924Kevin B Kenny2009-01-201-3/+8
|
* * unix/tcl.m4 (SC_PATH_X): check for libX11.dylib in addition todas2008-08-131-1/+1
| | | | libX11.so et al.
* * unix/tcl.m4 (SunOS-5.11): fix 64bit amd64 support with gcc & Sun cc.das2008-06-121-24/+39
|
* (SunOS-5.1x): quote CC var to allow make-time overridedas2008-04-011-5/+1
| | | | sync with tk/unix/tcl.m4 changes
* * generic/tclStrToD.c: Applied patch for [Bug 1839067] (fpandreas_kupries2008-04-011-3/+24
| | | | | * unix/tcl.m4: rounding setup on solaris x86, native cc), provided * unix/configure: by Michael Schlenker. configure regen'd.
* * unix/tcl.m4 (SunOS-5.1x): fix 64bit support for Sun cc. [Bug 1921166]das2008-03-271-1/+1
|
* * unix/configure.in: use backspace-quoting instead of double-quotingdas2008-03-131-8/+8
| | | | | * unix/tcl.m4: for lib paths in tclConfig.sh [Bug 1913622]. * unix/configure: autoconf-2.59
* * macosx/GNUmakefile: fix quoting to allow paths todas2008-03-111-44/+44
| | | | | | | | | | | | * macosx/Tcl-Common.xcconfig: ${builddir} and ${INSTALL_ROOT} * unix/Makefile.in: to contain spaces. * unix/configure.in: * unix/install-sh: * unix/tcl.m4: * tests/ioCmd.test: * unix/Makefile.in (install-strip): strip non-global symbols from dynamic library.
* whitespace & order (sync with tclconfig/tcl.m4)das2007-11-181-7/+8
|
* Let people disable use of -rpath in their linking step. [Patch 1231022]dkf2007-11-151-281/+246
|
* clarify message of second getaddrinfo checkdas2007-11-141-1/+1
|
* Added autoconf goo to detect availability of getaddrinfopatthoyts2007-11-131-0/+31
|
* fix quoting of new FreeBSD SHLIB_LDdas2007-09-181-1/+1
|
* Use '${CC} -shared' instead of 'ld -Bshareable' to build shared librariesjenglish2007-09-171-12/+6
| | | | on current NetBSDs [#1749251].
* * unix/tcl.m4: replace all direct references to compiler by ${CC} todas2007-09-151-41/+44
| | | | | | | | | enable CC overriding at configure & make time; run check for visibility "hidden" with all compilers; quoting fixes from TEA tcl.m4. (SunOS-5.1x): replace direct use of '/usr/ccs/bin/ld' in SHLIB_LD by 'cc' compiler driver. * unix/configure: autoconf-2.59
* * macosx/Tcl.xcodeproj/project.pbxproj: add settings for Fix&Continue.das2007-06-061-9/+14
| | | | | | | | | | * unix/configure.in (Darwin): add plist for tclsh; link the * unix/Makefile.in (Darwin): Tcl and tclsh plists into their * macosx/Tclsh-Info.plist.in (new): binaries in all cases. * macosx/Tcl-Common.xcconfig: * unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds. * unix/configure: autoconf-2.59
* * macosx/tclMacOSXNotify.c: add spinlock debugging and sanity checks.das2007-03-071-1/+1
| | | | | | | | | | * macosx/Tcl.xcodeproj/project.pbxproj: ensure gcc version used by * macosx/Tcl.xcodeproj/default.pbxuser: Xcode and configure/make are * macosx/Tcl-Common.xcconfig: consistent and independent of gcc_select default and CC env var; fixes for Xcode 3.0. * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check. * unix/configure: autoconf-2.59
* * unix/tcl.m4: use SHLIB_SUFFIX=".so" on HP-UX ia64 arch.hobbs2007-02-191-1/+5
| | | | * unix/configure: autoconf-2.59
* * unix/tcl.m4: use gcc4's __attribute__((__visibility__("hidden"))) ifdas2007-02-041-2/+23
| | | | | | | available to define MODULE_SCOPE effective on all platforms. * unix/configure.in: add caching to -pipe and zoneinfo checks. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* * unix/tcl.m4: integrate CPPFLAGS into CFLAGS as late as possible anddas2007-01-251-4/+12
| | | | | | | 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.59
* * macosx/tclMacOSXFCmd.c (TclMacOSXSetFileAttribute): on some versionsdas2007-01-191-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | of Mac OS X, truncate() fails on resource forks, in that case use open() with O_TRUNC instead. * macosx/tclMacOSXNotify.c: accommodate changes to prototypes of OSSpinLock(Un)Lock API. * macosx/Tcl.xcodeproj/project.pbxproj: ensure HOME and USER env vars * macosx/Tcl.xcodeproj/default.pbxuser: are defined when running testsuite from Xcode. * tests/env.test: add extra system env vars that need to be preserved on some Mac OS X versions for testsuite to work. * unix/Makefile.in: move libtommath defines into configure.in to avoid * unix/configure.in: replicating them across multiple buildsystems. * macosx/Tcl.xcodeproj/project.pbxproj: * 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.59 * unix/tclConfig.h.in: autoheader-2.59
* * 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.59
* * tcl.m4 (Linux): --enable-64bit support. [Patch 1597389], [Bug 1230558]das2006-11-261-1/+12
| | | | * configure: autoconf-2.59
* * tests/fCmd.test (fCmd-6.26): fix failure when env(HOME) path containsdas2006-11-101-0/+2
| | | | | | | | | | | | | | symlinks. * macosx/Tcl.xcodeproj/project.pbxproj: remove tclParseExpr.c; when running testsuite from inside Xcdoe, skip stack-3.1 (it only fails under those circumstances). * unix/tcl.m4 (Darwin): suppress linker arch warnings when building universal for both 32 & 64 bit and no 64bit CoreFoundation is available; sync with tk tcl.m4 change. * unix/configure.in: whitespace. * unix/configure: autoconf-2.59
* * unix/tclUnixThrd.c (TclpThreadGetStackSize): on Darwin, usedas2006-10-131-0/+4
| | | | | | * unix/tcl.m4: pthread_get_stacksize_np() API to get thread stack size. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* * library/msgcat/msgcat.tcl (msgcat::Init): on Darwin, add fallback ofdas2006-09-101-265/+250
| | | | | | | | | | | | | | | | | | * 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). * library/tcltest/tcltest.tcl: add 'line' verbose level: prints source * doc/tcltest.n: file line information of failing tests. * macosx/Tcl.xcodeproj/project.pbxproj: add new tclUnixCompat.c file; revise tests target to use new tcltest 'line' verbose level. * unix/configure.in: add descriptions to new AC_DEFINEs for MT-safe. * unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* Added fixes for Tcl Bug 999544 (ported from core-8-4-branch).vasiljevic2006-09-061-0/+397
|
* * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, fordas2006-08-181-8/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.59 * unix/tclConfig.h.in: autoheader-2.59 * generic/tcl.h: add fixes for building on Leopard and support * unix/tclUnixPort.h: for 64-bit CoreFoundation on Leopard. * macosx/tclMacOSXFCmd.c: * unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it causes execve to fail intermittently. (rdar://4685553) * generic/tclTomMath.h: on Darwin 64-bit, for now disable use of 128-bit arithmetic through __attribute__ ((mode(TI))), as it leads to link errors due to missing fallbacks. (rdar://4685527) * macosx/Tcl.xcodeproj/project.pbxproj: add x86_64 to universal build, switch native release targets to use DWARF with dSYM, Xcode 3.0 changes. * macosx/README: updates for x86_64 and Xcode 2.3. * macosx/Tcl.xcodeproj/default.pbxuser: add test suite target that runs * macosx/Tcl.xcodeproj/project.pbxproj: the tcl test suite at build time and shows clickable test suite errors in the GUI build window. * tests/macOSXFCmd.test: fix use of deprecated resource fork paths. * unix/tclUnixInit.c (TclpInitLibraryPath): move code that is only needed when TCL_LIBRARY is defined to run only in that case. * generic/tclLink.c (LinkTraceProc): fix 64-bit signed-with-unsigned comparison warning from gcc4 -Wextra.
* cleanup quoting and whitespacedas2006-07-201-3/+3
|
* * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): createdas2006-07-201-59/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/tclMacOSXFCmd.c (TclMacOSXCopyFileAttributes): add support * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): for weakly * unix/tclUnixInit.c (Tcl_GetEncodingNameFromEnvironment): importing symbols not available on OSX 10.2 or 10.3, enables binaires built on later OSX versions to run on earlier ones. * macosx/Tcl.xcodeproj/project.pbxproj: enable weak-linking; turn on extra warnings. * 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 and help messages. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 * unix/tclLoadDyld.c (TclpLoadMemory): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
* * macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler thatdas2006-05-271-42/+45
| | | | | | | | | | | | | * 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 * unix/tclConfig.h.in: autoheader-2.59
* Fix [Bug 1494160]dkf2006-05-241-1/+1
|
* * unix/tcl.m4: removed TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKINGdas2006-04-061-2/+0
| | | | | | define on Darwin. [Bug 1457515] * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* * unix/tcl.m4, win/tcl.m4: []-quote AC_DEFUN functions.hobbs2006-03-281-26/+26
|
* Set SHLIB_LD_FLAGS='${LIBS}' on NetBSD, as per the other *BSD variantsjenglish2006-03-081-1/+1
| | | | [Bug 1334613]. Regenerate configure script.
* * unix/configure: add caching, use AC_CACHE_CHECK instead ofdas2006-01-101-169/+253
| | | | | | | * unix/configure.in: AC_CACHE_VAL where possible, consistent message * unix/tcl.m4: quoting, sync relevant tclconfig/tcl.m4 changes and gratuitous formatting differences, fix SC_CONFIG_MANPAGES with default argument, Darwin improvements to SC_LOAD_*CONFIG.