summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * configure: Regen.mdejong2002-02-231-1/+1
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Link with -n32 instead of -32 when building on IRIX64-6.* system. [Tcl bug 521707]
* * unix/configure:hobbs2002-02-221-0/+15
| | | | | * unix/tcl.m4: added --enable-64bit support for AIX-4 (using -q64 flag) when using IBM's xlc compiler.
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-77/+173
| | | | | 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/configure:hobbs2002-02-081-6/+14
| | | | | | * 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.
* reverted pwd changes for AIX, the best fix is to replace sh with bsh on 4.3.3hobbs2002-02-051-9/+4
|
* get full path to pwd to avoid errors on AIX-4.3hobbs2002-02-051-5/+9
|
* * unix/tcl.m4 (SC_LOAD_TCLCONFIG):mdejong2002-01-291-4/+30
| | | | | | | | | | | * win/tcl.m4 (SC_LOAD_TCLCONFIG): Set TCL_LIB_SPEC, TCL_STUB_LIB_SPEC, and TCL_STUB_LIB_PATH to the values of TCL_BUILD_LIB_SPEC, TCL_BUILD_STUB_LIB_SPEC, and TCL_BUILD_STUB_LIB_PATH when tclConfig.sh is loaded from the build directory. A Tcl extension should make use of the non-build versions of these variables since they will work in both cases. This modification was described in TIP 34.
* * unix/tcl.m4 (SC_LOAD_TCLCONFIG):mdejong2002-01-171-2/+3
| | | | | | | * win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst TCL_DBGX into TCL_STUB_LIB_FILE and TCL_STUB_LIB_FLAG variables so that an extension does not need to subst TCL_DBGX into its makefile. [Tk Bug 504356]
* * unix/tcl.m4 (SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG):mdejong2001-12-201-2/+2
| | | | | Search for config file using exec_prefix instead of prefix when no --with-tcl or --with-tk argument is used. [Bug 492418]
* * unix/tcl.m4: fixed incorrect SHLIB_LD_LIBSdas2001-12-201-1/+1
| | | | | | | | setting for MacOSX / Darwin. * unix/configure: Regen. * unix/mkLinks.tcl: improved case-insensitive filesystem support. * unix/mkLinks: Regen.
* * unix/configure:mdejong2001-12-191-1/+5
| | | | | | * 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]
* * unix/tclUnixInit.c: added HAVE_LANGINFO code block.hobbs2001-11-161-1/+46
| | | | | | | | | | | * 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)
* added -lc to AIX libs, fixed path to ldAixhobbs2001-11-101-2/+18
|
* Fixup stack size under OSF1. [Tcl patch 474790]mdejong2001-11-091-1/+2
| | | | | | * unix/configure: Regen. * unix/tcl.m4: Add HAVE_PTHREAD_ATTR_SETSTACKSIZE define to EXTRA_CFLAGS to adjust initial stack size.
* Enable thread support under FreeBSD. [Tcl bug 473708]mdejong2001-11-091-2/+8
| | | | | | | | * 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.
* * unix/configure: regen'edhobbs2001-09-201-1/+23
| | | | | * unix/tcl.m4: added --enable-64bit support for HP-11 with the 64-bit kernel.
* * unix/configure: Regen.mdejong2001-09-181-0/+12
| | | | | * 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/configure: Regen.mdejong2001-09-121-14/+14
| | | | | | | | * 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/configure: Regen.mdejong2001-09-101-0/+6
| | | | | | * 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]
* added QNX-6 build support. [Bug #219410] (loverso)hobbs2001-08-231-0/+13
|
* * unix/configure: Regen.mdejong2001-08-121-22/+13
| | | | | | * unix/configure.in: * unix/tcl.m4: Use GCC variable set by AC_PROG_CC instead of defining our own using_gcc variable.
* added GNU (HURD) configuration target. (brinkmann)hobbs2001-08-071-0/+23
|
* * unix/Makefile.in: Add AR variable for use in STLIB_LD.mdejong2001-07-111-1/+6
| | | | | | | | | | | | | | * 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/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.mdejong2001-06-221-5/+5
| | | | | | | | | | | | | | | | | | | | 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.
* * unix/tcl.m4 (SC_PATH_TCLCONFIG): Fix comments,mdejong2001-05-231-2/+2
| | | | and typo in cached variable name.
* * unix/tcl.m4 (SC_LOAD_TKCONFIG):mdejong2001-05-231-2/+2
| | | | | | Remove use of undefined TCLCONFIG variable and call AC_MSG_RESULT to print the checking result. * win/tcl.m4: Ditto.
* * unix/tcl.m4: added more common install directories in which tohobbs2001-05-231-2/+8
| | | | search for *Config.sh [Bug #419812]
* * unix/Makefile.in: Add a LDFLAGS variable to themdejong2001-05-111-4/+5
| | | | | | | | | | | | | | 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/configure: Regen.mdejong2001-04-251-0/+1
| | | | | | | | * 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.
* Changes to support re-entrant coding of gmtime and localtime.Kevin B Kenny2001-04-091-0/+14
| | | | (Bugs #219136 and #232558)
* * unix/configure:hobbs2001-04-041-0/+60
| | | | | | | * 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]
* * unix/configure:hobbs2001-03-291-1/+12
| | | | | * unix/tcl.m4: corrected IRIX-5.x config to not use -n32. (english) [Patch 403626]
* * unix/tcl.m4: removed use of -lbsd and -ldl for AIX-5.hobbs2000-11-021-44/+35
|
* unix/tcl.m4: consolidated gettimeofday check for AIX.hobbs2000-10-311-13/+6
|
* * unix/configure.in:hobbs2000-10-281-0/+26
| | | | * unix/tcl.m4: added support for AIX-5.
* remove --enable-gcc configure optionmo2000-08-251-30/+0
|
* Doh! revert piece of last commit that did not belongmo2000-07-191-32/+1
|
* * unix/configure.in:mo2000-07-191-13/+45
| | | | | | | * unix/tcl.m4: * win/tcl.m4: Properly quote arguments to m4 macros. This allows Tcl to work with the new version of autoconf.
* Don't set CC=gcc before running AC_PROG_CC if CC is already set.mo2000-07-171-1/+3
|
* * unix/tcl.m4 (SC_ENABLE_THREADS): enhanced the detection ofhobbs2000-04-141-9/+35
| | | | | pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added --enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]
* 2000-04-08 Andreas Kupries <a.kupries@westend.com>kupries2000-04-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Overall change: Definition of a public API for the creation of new threads. * generic/tclInt.h (line 1802f): Removed the definition of 'TclpThreadCreate'. (line 793f) Removed the definition of 'Tcl_ThreadCreateProc'. * generic/tcl.h (line 388f): Readded the definition of 'Tcl_ThreadCreateProc'. Added Win32 stuff send in by David Graveraux <davygrvy@bigfoot.com> to that too (__stdcall, ...). Added macros for the default stacksize and allowed flags. * generic/tcl.decls (line 1356f): Added definition of 'Tcl_CreateThread', slot 393 of the stub table. Two new arguments in the public API, for stacksize and flags. * win/tclWinThrd.c: * mac/tclMacThrd.c: Renamed TclpThreadCreate to Tcl_CreateThread, added handling of the stacksize. Flags are currently ignored. * unix/tclUnixThrd.c: See above, but handles joinable flag. Ignores the specified stacksize if the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE is not defined. * generic/tclThreadTest.c (line 363): See below. * unix/tclUnixNotfy.c (line 210): Adapted to the changes above. Uses default stacksize and no flags now. * unic/tcl.m4 (line 382f): Added a check for 'pthread_attr_setstacksize' to detect platforms not implementing this feature of pthreads. If it is implemented, configure will define the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE (See unix/tclUnixThrd.c too). * doc/Thread.3: Added Tcl_CreateThread and its arguments to the list of described functions. Removed stuff about not providing a public C-API for thread-creation.
* * unix/README:hobbs2000-02-101-1/+8
| | | | | | | | | | | | | | | | * unix/Makefile.in (dist): removed porting.notes and porting.old from distribution and CVS. The information was very outdated. Now refer to http://dev.scriptics.com/services/support/platforms.html * tests/unixInit.test: fixed japanese LANG encoding test [Bug: 3549] * unix/configure.in: * unix/tcl.m4: correct CFLAG_WARNING setting, fixed gcc config for AIX, added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998] * win/tclWinLoad.c (TclpLoadFile): improved error message for load failures, could perhaps be even more intelligent.
* * unix/configure.in:hobbs2000-02-081-3/+3
| | | | | | | | | * win/configure.in: * win/README: * win/README.binary: * generic/tcl.h (TCL_RELEASE_SERIAL): Moved to 8.3.0 patchlevel * unix/tcl.m4: changed all -fpic to -fPIC
* improved OSF1 thread build flagshobbs2000-02-011-2/+2
|
* * unix/tcl.m4: modified EXTRA_CFLAGS to add -DHAVE_TZSET forhobbs2000-01-261-4/+11
| | | | | | | | OSF1-V* and ULTRIX-4.* when not using gcc. Also added higher min stack size for OSF1-V* when building with threads. [Bug: 4063] * unix/tclUnixChan.c (CreateSocketAddress): changed comparison with -1 to 0xFFFFFFFF, to ensure 32 bit comparison even on 64 bit systems. [Bug: 3878]
* * README:core_8_3_b2hobbs2000-01-141-2/+2
| | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.m4: * win/README.binary: * win/configure.in: updated to patchlevel 8.3b2
* * tests/unixFCmd.test:hobbs2000-01-121-11/+33
| | | | | | | | | | | | | | | | | | * unix/tclUnixFCmd.c: added support for symbolic permissions setting in SetPermissionsAttribute (file attr $file -perm ...) [Bug: 3970] * tests/expr.test: * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: strtod bug on Tru64 [Bug: 3378] and added tests to prevent unnecessary chmod +x in sources while installing, as well as more intelligent setsockopt/gethostbyname checks [Bug: 3366, 3389] * unix/tclUnixThrd.c: added compile time support (through use of the TCL_THREAD_STACK_MIN define) for increasing the default stack size for a thread. [Bug: 3797, 1966]
* * unix/tclUnixFile.c: fixed signature style on functionshobbs2000-01-111-1/+14
| | | | | | * unix/Makefile.in: made sure tcl.m4 would be installed with dist * unix/tcl.m4: added ELF support for NetBSD [Bug: 3959]
* * unix/configure.in:hobbs1999-12-121-62/+0
| | | | | | | | | * unix/tcl.m4: * unix/tclUnixPipe.c: removed checking for compatible vfork function and use of the vfork function. Modern VM systems rarely suffer any performance degradation when fork is used, and it solves multiple problems with vfork. Users that still want vfork and add -Dfork=vfork to the compile flags. [Bug: 942 2228 1312]