summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
Commit message (Collapse)AuthorAgeFilesLines
* * 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]
* * unix/tcl.m4: added defined for _THREAD_SAFE in --enable-threadshobbs1999-11-191-20/+48
| | | | | | case; added check for pthread_mutex_init in libc; in AIX case, with --enable-threads ${CC}_r is used; fixed flags when using gcc on SCO
* * unix/tcl.m4: added recognition of pthreads library for AIXhobbs1999-11-101-2/+8
|
* * unix/Makefile.in: fixed gendate target - this never workedhobbs1999-09-211-2/+2
| | | | | | | | since RCS was intro'd. * unix/tcl.m4: * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610]
* 1999-09-01 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-021-1/+1
| | | | | | * unix/aclocal.m4: * unix/tcl.m4: adjusted fix from 8-21 to add -bnoentry to the AIX-* case and readjusted the range
* Added definition for STLIB_LDwart1999-08-111-0/+1
|
* * unix/aclocal.m4:redman1999-07-161-0/+3
| | | | | | | | * unix/tcl.m4: Add check for Alpha/Linux to correct the IEEE floating flag to the compiler, should be -mieee. Patch from Don Porter. * tools/tcl.hpj.in: Change version number of .cnt file referenced in .HPJ file.
* Fixed compiler optimization flags for Linux to remove a plethora of warnings.wart1999-06-171-0/+7
|
* Added changes to make the macros bahave in the same manner as the Windowswart1999-06-161-126/+126
| | | | tcl.m4 macros
* Reorganized the order of the macros (cosmetic change)wart1999-06-161-676/+678
|
* More TEA changes. Should play well with TclX now.wart1999-06-161-11/+20
|
* Modified some macros based on how some of the extensions work.wart1999-06-151-148/+710
|
* First pass at Tcl autoconf macroswart1999-06-101-0/+1114