summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tcl.m4 (Darwin): fixed bug with static build linking todas2005-01-251-3/+3
| | | | | | | dynamic library in /usr/lib etc instead of linking to static library earlier in search path. [Tcl Bug 956908] Removed obsolete references to Rhapsody. * unix/configure: autoconf-2.13
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected failure to determinedgp2004-11-251-2/+17
| | | | | | the number of arguments for readdir_r on SunOS systems. [Bug 1071701] * unix/configure: autoconf-2.13
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected bad check forKevin B Kenny2004-11-241-2/+7
| | | | | | | | | 3-argument readdir_r [Bug 1001325]. * unix/configure: Regenerated. * unix/tclUnixNotfy.c: Corrected all uses of 'select' to manage their masks using the FD_CLR, FD_ISSET, FD_SET, and FD_ZERO macros rather than bit-whacking that failed under Solaris-Sparc-64. [Bug 1071807]
* * unix/configure: Regen.mdejong2004-11-221-3/+10
| | | | | | | * unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Define HAVE_TYPE_OFF64_T only when off64_t, open64(), and lseek64() are defined. IRIX 5.3 is known to not include an open64 function. [Bug 1030465]
* * unix/configure: Regen.mdejong2004-11-221-0/+19
| | | | | | | | | * unix/tcl.m4 (SC_ENABLE_THREADS): Check for a 2 argument version of readdir_r that is known to exists under IRIX 5.3. * unix/tclUnixThrd.c (TclpReaddir): Use either 2 arg or 3 arg version of readdir_r. [Bug 1001325]
* 2004-11-18 Reinhard Max <max@suse.de>rmax2004-11-181-9/+33
| | | | | | | | | | * unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of * unix/configure.in: patch #996085, that introduces * unix/Makefile.in: --enable-man-suffix. * unix/installManPage: added * unix/mkLinks.tcl: removed * unix/mkLinks: removed
* * unix/configure:das2004-07-301-2/+2
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var. * unix/Makefile.in: added MAC_OSX_OBJS variable.
* * unix/tcl.m4: fixed Darwin autoconf breakage caused bydas2004-07-201-3/+4
| | | | | | | | recent CFLAGS reordering. * unix/configure: regen * unix/tclConfig.sh.in: replaced EXTRA_CFLAGS with CFLAGS. * unix/dltest/Makefile.in: replaced EXTRA_CFLAGS with DEFS.
* * unix/Makefile.in, unix/tcl.m4: move (C|LD)FLAGS after theirhobbs2004-07-191-93/+107
| | | | | | | | | | | | * unix/configure.in, unix/configure: _DEFAULT to allow for env setting to override m4 switches. Consolidate header checks to limit redundancy in configure. (CFLAGS_WARNING): Remove -Wconversion, add -fno-strict-aliasing for gcc builds (need to suppress 3.x type puning warnings). (SC_ENABLE_THREADS): Set m4 to force threaded build when built against a threaded Tcl core. Reorder configure.in for better 64-bit build configuration, replacing EXTRA_CFLAGS with CFLAGS. [Bug #874058]
* * unix/tcl.m4 (SC_CONFIG_CFLAGS): Allow 64-bit enabling ondgp2004-03-011-1/+1
| | | | | IRIX64-6.5* systems. [Bug 218561] * unix/configure: autoconf-2.13
* update HP-11 build libs setuphobbs2004-02-131-1/+8
|
* improve AIX --enable-64bit handlinghobbs2003-11-121-37/+37
|
* * tests/fCmd.test (fCmd-8.2): Test only that tilde-substitutiondgp2003-10-061-0/+16
| | | | | | | happens, not for any particular result. [Bug 685991] * unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path so that alpha and beta releases of Tcl are not favored. [Bug 608698]
* Added note to make it clearer that frameworks are an OSX feature [Bug 619440]dkf2003-09-291-1/+1
|
* * unix/configure: Regen.mdejong2003-06-251-2/+4
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add -ieee when compiling with cc and add -mieee when compiling with gcc under OSF1-V5 "Tru64" systems. [Bug 748957]
* * unix/tcl.m4:das2003-02-211-1/+1
| | | | | | | * unix/tclUnixPipe.c: (macosx) use vfork() instead of fork() to create new processes, as recommended by to Apple (vfork can be up to 100 times faster thank fork on macosx). * unix/configure: regen.
* * unix/tcl.m4: [Bug #651811] Added definition of _XOPEN_SOURCE andandreas_kupries2003-02-191-1/+3
| | | | | | | | linkage of 'xnet' library to HP 11 branch. This kills a lot of socket-related failures in the testsuite when Tcl was compiled in 64 bit mode (both PA-RISC 2.0W, and IA 64). * unix/configure: Regenerated.
* * unix/configure: Regen.mdejong2003-02-191-0/+3
| | | | | | * unix/tcl.m4 (SC_ENABLE_THREADS): Make sure -lpthread gets passed on the link line when checking for the pthread_attr_setstacksize symbol.
* correct HP-UX ia64 --enable-64bit build flagshobbs2003-02-151-2/+7
|
* * unix/configure: Regen.mdejong2002-11-061-1/+4
| | | | | | | | | * 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.
* Correct AIX-5 ppc build flagshobbs2002-10-161-2/+0
|
* Correct AIX-5 ppc build flagshobbs2002-10-161-9/+21
|
* * unix/configure:hobbs2002-10-151-2/+2
| | | | | * unix/tcl.m4: correct HP 11 64-bit gcc building. [Patch #601051] (martin)
* * unix/README: doc'ed --enable-symbols options.hobbs2002-10-101-43/+28
| | | | | | | | * unix/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst. * unix/configure: regen * unix/configure.in: removed SC_ENABLE_MEMDEBUG call * unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
* * unix/configure: regen.hobbs2002-09-271-2/+10
| | | | * unix/tcl.m4: improve AIX-4/5 64bit compilation support.
* * unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Yet more robust 64-bit valuedkf2002-09-241-4/+9
| | | | detection to close [Bug 613117] on more systems.
* * unix/tcl.m4: Forgot to define TCL_WIDE_INT_IS_LONG at thedkf2002-09-241-0/+1
| | | | appropriate moment. I believe this is the cause of [Bug 613117]
* * unix/configure: Regen.mdejong2002-09-151-0/+3
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add PEEK_XCLOSEIM define under Linux. This is used by Tk to double check that an X input context is cleaned up before it is closed.
* * unix/Makefile.in: added DYLIB_INSTALL_DIR variable for macosxdas2002-09-101-2/+2
| | | | | | | | | | | | | and set it to default value ${LIB_RUNTIME_DIR} * unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of LIB_RUNTIME_DIR in the -install_name argument to ld. * unix/configure: regen. * macosx/Tcl.pbproj/project.pbxproj: * macosx/Makefile: added support for building Tcl as an embedded framework, i.e. using an dyld install_name containing @executable_path/../Frameworks via the new DYLIB_INSTALL_DIR unix/Makefile variable.
* * unix/configure: remove -pthread from LIBS on FreeBSD in threadhobbs2002-09-031-0/+2
| | | | * unix/tcl.m4: enabled build. [Bug #602849]
* * unix/configure:hobbs2002-09-021-2/+17
| | | | | * unix/tcl.m4: added 64-bit gcc compilation support on HP-11. [Patch #601051] (martin)
* * unix/tcl.m4: added TK_SHLIB_LD_EXTRAS analogue of existingdas2002-08-311-3/+6
| | | | | | TCL_SHLIB_LD_EXTRAS for linker settings only used when linking Tk. * unix/configure: regen
* *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***macosx_8_4_merge_2002_08_31_trunkdas2002-08-311-4/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.decls: added new macosx specific entry to stubs table. * tools/genStubs.tcl: added generation of platform guards for macosx. This is a little more complex than it seems, because MacOS X IS "unix" plus a little bit, for the purposes of Tcl. BUT unfortunately, Tk uses "unix" to mean X11. So added platform keys for macosx (the little added to "unix"), "aqua" and "x11" to distinguish these for Tk. * generic/tcl.h: added a #ifnded RESOURCE_INCLUDED so that tcl.h can be passed to the resource compiler. * generic/tcl.h: * generic/tclNotify.c: added a few Notifier procs, to be able to modify more bits of the Tcl notifier dynamically. Required to get Mac OS X Tk to live on top of the Tcl Unix threaded notifier. Changes the size of the Tcl_NotifierProcs structure, but doesn't move any elements around. * unix/tclUnixNotfy.c: moved the call to Tcl_ConditionNotify till AFTER we are done mucking with the pointer swap. Fixes cases where the thread waiting on the condition wakes & accesses the waitingListPtr before it gets reset, causing a hang. * library/auto.tcl (tcl_findLibrary): added checking the directories in the tcl_pkgPath for library files on macosx to enable support of the standard Mac OSX library locations * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: added MAC_OSX_DIR. Added PLAT_OBJS to the OBJS: there are some MacOS X specific files now for Tcl, and when I get he resource & applescript stuff ported over, and restore support for FindFiles, etc, there will be a few more. Added LD_LIBRARY_PATH_VAR configure variable to avoid having to set all possible LD_LIBRARY_PATH analogues on all platforms. LD_LIBRARY_PATH_VAR is "LD_LIBRARY_PATH" by default, "LIBPATH" on AIX, "SHLIB_PATH" on HPUX and "DYLD_LIBRARY_PATH" on Mac OSX. Added configure option to package Tcl as a framework on Mac OSX. * macosx/tclMacOSXBundle.c (new): support for finding Tcl extension packaged as 'bundles' in the standard Mac OSX library locations. * unix/tclUnixInit.c: added support for findig the tcl script library inside Tcl packaged as a framework on Mac OSX. * macosx/Tcl.pbproj/jingham.pbxuser (new): * macosx/Tcl.pbproj/project.pbxproj (new): project for Apple's ProjectBuilder IDE. * macosx/Makefile (new): simple makefile for building the project from the command line via the ProjectBuilder tool 'pbxbuild'. * unix/configure: * generic/tclStubInit.c: * generic/tclPlatDecls.h: regen
* * 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.
* * unix/tcl.m4 (SC_BUGGY_STRTOD): Enabled caching of test results.dkf2002-07-311-21/+22
|
* * unix/tcl.m4 (SC_BUGGY_STRTOD): Solaris 2.8 still has a buggydkf2002-07-311-5/+8
| | | | strtod() implementation; make sure we detect it.
* * unix/Makefile.in: Use CC_SEARCH_FLAGS instead ofmdejong2002-07-291-21/+66
| | | | | | | | | | LD_SEARCH_FLAGS when linking with ${CC}. * unix/configure: Regen. * unix/configure.in: Don't subst CC_SEARCH_FLAGS or LD_SEARCH_FLAGS since this is now done in tcl.m4. * unix/tcl.m4 (SC_CONFIG_CFLAGS): Document and set CC_SEARCH_FLAGS whenever LD_SEARCH_FLAGS is set. [Tcl patch 588290]
* * unix/tcl.m4 (SC_SERIAL_PORT): Fixed detection for cases whenrmax2002-07-291-1/+1
| | | | | | | | | | | | | configure's stdin is not a tty. * unix/tclUnixPort.h: * generic/tclIOSock.c: Changed size_t to socklen_t in socket-related function calls. * unix/configure.in: Added test and fallback definition for socklen_t. * unix/configure: generated.
* * unix/Makefile.in: Revert fix for Tcl bug 529801mdejong2002-07-281-14/+81
| | | | | | | | | | | | | | | | | | | | | | | since it was incorrect and broke the build on other systems. Fix Tcl bug 587299. Add MAJOR_VERSION, MINOR_VERSION, PATCH_LEVEL, SHLIB_LD_FLAGS, SHLIB_LD_LIBS, CC_SEARCH_FLAGS, LD_SEARCH_FLAGS, and LIB_FILE variables to support more generic library build/install rules. * unix/configure: Regen. * unix/configure.in: Move AC_PROG_RANLIB into tcl.m4. Move shared build test and setting of MAKE_LIB and MAKE_STUB_LIB into tcl.m4. Move subst of a number of variables into tcl.m4 where they are defined. * unix/tcl.m4 (SC_ENABLE_SYMBOLS, SC_CONFIG_CFLAGS): Subst vars where they are defined. Add MAKE_LIB, MAKE_STUB_LIB, INSTALL_LIB, and INSTALL_STUB_LIB rules to deal with the ugly details of running ranlib on static libs at build and install time. Replace TCL_SHLIB_LD_EXTRAS with SHLIB_LD_FLAGS and use it when building a shared library. * unix/tclConfig.sh.in: Add TCL_CC_SEARCH_FLAGS.
* * unix/configure: Regen.mdejong2002-07-231-0/+14
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Enable 64 bit compilation when using the native compiler on a 64 bit version of IRIX. [Tcl bug 219220]
* * unix/tcl.m4 (SC_PATH_X): Set XINCLUDES to "" insteadmdejong2002-07-231-8/+7
| | | | | of "# no special path needed" or "# no include files found" when x headers cannot be located.
* Fix for Tcl bug #541181; programs that link against libtcl.so on Solaris nodkf2002-07-011-2/+4
| | | | longer need to use the same compiler as that used for the library itself
* * unix/tcl.m4: New macro SC_CONFIG_MANPAGES.rmax2002-06-251-0/+42
| | | | | | | | | | | * unix/configure.in: Added support for symlinks and compression * unix/Makefile.in: when installing the manpages. [Patch 518052] * unix/mkLinks.tcl: Default is still hardlinks and no compression. * unix/mkLinks: generated * unix/configure: * unix/README: Added documentation for the new features.
* * unix/tcl.m4 (SC_PATH_TCLCONFIG): Replaced ${exec_prefix}/lib byrmax2002-06-251-2/+2
| | | | ${libdir}.
* * unix/tclUnixThrd.c (TclpReaddir, TclpLocaltime, TclpGmtime):das2002-06-061-2/+3
| | | | | | | | | | | | | 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).
* * unix/configure: Regen.mdejong2002-05-211-2/+10
| | | | | | | | | * 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/configure:hobbs2002-04-261-1/+1
| | | | | * unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so that the .sl knows its dependent libs.
* * generic/tclAlloc.c:hobbs2002-04-231-1/+1
| | | | | | | | | | | | | | | * 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/tclAlloc.c:hobbs2002-04-231-0/+3
| | | | | | | | | | | | | | | * 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/configure:hobbs2002-02-261-1/+5
| | | | | * unix/tcl.m4 (SC_SERIAL_PORT): added sys/modem.h check and defined _XOPEN_SOURCE_EXTENDED for HP-11 to get updated header decls.