summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
Commit message (Collapse)AuthorAgeFilesLines
* update HP-11 build libs setuphobbs2004-03-021-1/+7
|
* * 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.57
* Whitespace policedgp2004-02-181-28/+29
|
* * unix/configure:hobbs2003-12-091-3/+29
| | | | | * unix/tcl.m4: updated OpenBSD build configuration based on [Patch #775246] (cassoff)
* * unix/configure:hobbs2003-11-121-40/+39
| | | | | | * unix/tcl.m4: improve AIX --enable-64bit handling remove -D__NO_STRING_INLINES -D__NO_MATH_INLINES from CFLAGS_OPTIMIZE on Linux. Make default opt -O2 (was -O).
* * unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path sodgp2003-10-061-13/+28
| | | | that alpha and beta releases of Tcl are not favored. [Bug 608698]
* Added note that frameworks are a MacOSX feature [Bug 619440]dkf2003-09-291-1/+1
|
* 2003-06-25 Mo DeJong <mdejong@users.sourceforge.net>mdejong2003-06-251-2/+4
| | | | | | | | * unix/configure: Regen. * 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]
* * generic/tcl.decls: Ported the changes from theandreas_kupries2003-06-091-0/+32
| | | | | | | | | | | | | | | | | * generic/tcl.h: 'tip-59-implementation' branch into the CVS * generic/tclBasic.c: head. Regenerated stub table. Regenerated * generic/tclInt.h: the configure's scripts, with help from Joe * generic/tclDecls.h English. * generic/tclStubInit.c: * generic/tclConfig.c: * generic/tclPkgConfig.c: * unix/Makefile.in: * unix/configure.in: The changes in the windows section are not * unix/tcl.m4: yet committed, they await feedback from * unix/mkLinks: David Gravereaux. * doc/RegConfig.3: * mac/tclMacPkgConfig.c: * tests/config.test:
* Implementation of TIP 118:das2003-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclFCmd.c (TclFileAttrsCmd): return the list of attributes that can be retrieved without error for a given file, instead of aborting the whole command when any error occurs. * unix/tclUnixFCmd.c: added support for new file attributes and for copying Mac OS X file attributes & resource fork during [file copy]. * generic/tclInt.decls: added declarations of new external commands needed by new file attributes support in tclUnixFCmd.c. * macosx/tclMacOSXFCmd.c (new): Mac OS X specific implementation of new file attributes and of attribute & resource fork copying. * mac/tclMacFCmd.c: added implementation of -rsrclength attribute & fixes to other attributes for consistency with OSX implementation. * mac/tclMacResource.c: fixes to OSType handling. * doc/file.n: documentation of [file attributes] changes. * unix/configure.in: check for APIs needed by new file attributes. * unix/Makefile.in: * unix/tcl.m4: added new platform specifc tclMacOSXFCmd.c source. * unix/configure: * generic/tclStubInit.c: * generic/tclIntPlatDecls.h: regen. * tools/genStubs.tcl: fixes to completely broken code trying to prevent overlap of "aqua", "macosx", "x11" and "unix" stub entries. * tests/unixFCmd.test: added tests of -readonly attribute. * tests/macOSXFCmd.test (new): tests of macosx file attributes and of preservation of attributes & resource fork during [file copy]. * tests/macFCmd.test: restore -readonly attribute of test dir, as otherwise its removal can fail on unices supporting -readonly.
* * unix/configure:mdejong2003-04-041-1/+6
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't set TCL_LIBS if it is already set to support use of TCL_LIBS var from tclConfig.sh in the Tk configure script.
* * unix/Makefile.in: Don't subst MATH_LIBS,mdejong2003-04-031-15/+11
| | | | | | | | | | | | | LIBS, and DL_LIBS separately. Instead, just subst TCL_LIBS since it includes the others. * unix/configure: Regen. * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Set and subst TCL_LIBS in SC_CONFIG_CFLAGS instead of SC_TCL_LINK_LIBS. Don't subst MATH_LIBS since it is now covered by TCL_LIBS. * unix/tclConfig.sh.in: Use TCL_LIBS instead of DL_LIBS, LIBS, and MATH_LIBS. * unix/dltest/Makefile.in: Ditto.
* * unix/configure: Regen.mdejong2003-04-021-7/+7
| | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Check for inet_ntoa in -lbind inside the BeOS block since doing it later broke the build under SuSE 7.3. [Bug 713128]
* * unix/configure: Regen.mdejong2003-03-281-2/+2
| | | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Use -Wl,--export-dynamic instead of -rdynamic for LDFLAGS. The -rdynamic is not documented so it seems better to pass the --export-dynamic flag to the linker. [Patch 573395]
* * unix/configure: Regen.mdejong2003-03-271-0/+16
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Add BeOS system to SC_CONFIG_CFLAGS. Check for inet_ntoa in -lbind, needed for BeOS.
* Require autoconf 2.57 or newer, see TIP 34mdejong2003-03-131-3/+4
| | | | | | | | | | | | | | | | | for a detailed explanation of why this is good. This will no doubt break the build on some platforms, let the flaming begin. * tools/configure: Regen with autoconf 2.57. * tools/configure.in: Require autoconf 2.57. * unix/configure: Regen with autoconf 2.57. * unix/configure.in: Require autoconf 2.57. Apply AC_LIBOBJ changes from patch 529884. * unix/tcl.m4: Ditto. * win/configure: Regen with autoconf 2.57. * win/configure.in: Require autoconf 2.57. Don't subst LIBOBJS since this happens by default, this avoids an autoconf error.
* * 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).