summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
Commit message (Collapse)AuthorAgeFilesLines
* Remove MINGW32 from the UNIX makefile, since Mingw should always build from ↵jan.nijtmans2018-03-261-2/+2
| | | | the "win" directory. Better to avoid confusion.
* Stop seeking out the libieee.a library and linking to it when found.dgp2018-02-151-3/+0
|\
| * Stop seeking out the libieee.a library and linking to it when found.dgp2018-02-151-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The latest release of the GNU C library, glibc-2.27 has done away with the libieee.a library. This prompts a review of why Tcl has been using it. Since Tcl 8.4.0, Tcl has stopped using the matherr() machinery, so we don't need it anymore for that. Since Tcl 8.5.0, Tcl post-processes ERANGE for itself when floating point underflow or overflow can sensibly produce a 0.0 or Inf result instead of raising an error. We no longer need to configure the system math library to silence these reports. A conseqeunce of this change is that TCL_LIBS will no longer include the linker option -lieee . This can potentially change the behavior of programs that embed libtcl. If so, though, those same programs are going to also have behavior changed as the new glibc release gets into routine use. We're doing those programs a favor by stopping masking the discovery that they need to be updated.
* | merge 8.7jan.nijtmans2017-12-061-7/+4
|\ \
| * \ merge core-8-6-branchjan.nijtmans2017-12-011-4/+4
| |\ \ | | |/
| | * Suggested patch for [4f51e1c5dc]: patch to correct linker flag sequence. ↵jan.nijtmans2017-11-171-4/+4
| | | | | | | | | | | | Same change done for a few other platforms where it might matter.
| * | Fix [e058307eef73cf21cf6805ad7c778e1024f9eb7d|e058307eef]: Use of values.h ↵jan.nijtmans2017-11-201-2/+0
| | | | | | | | | | | | breaks build of Tk trunk on macOS
| * | Remove compat/float.h and related machinery. The last system known where ↵jan.nijtmans2017-11-151-1/+0
| | | | | | | | | | | | | | | this was needed was SunOS-4, which is not supported by Tcl any more for a long ... long time .... Also, fix a typo in generic/tclInt.h and remove some end-of-line spacing.
* | | merge trunkjan.nijtmans2017-06-121-143/+24
|\ \ \ | |/ /
| * | Unbreak on OpenBSD, again. Put back the old SHLIB_VERSION doings.stu2017-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On OpenBSD, Tcl's libs will need the extra version numbers probably forever. There's no point to adding the extra knob. On OpenBSD, the extra version numbers are used for dependency tracking. The extra version numbers must be on linkable libs (code will be linked to them, they have a corresponding .h file). Loadable libs (no code will be linked to them, they don't have a corresponding .h file. Usually a Tcl extension) don't need the burden (OpenBSD has to track the libs' dependencies) of the extra version numbers. Libs that are loadable and linkable are treated as linkable. I hope that clears things up.
| * | Fully remove SunOS-4* from tcl.m4.stu2017-05-311-6/+2
| | |
| * | Merge core-8-6-branch.jan.nijtmans2017-05-221-101/+7
| |\ \ | | |/ | | | Obsolete a number of systems, which were already obsoleted by TEA: We cannot even create a "battery-included" release any more for those systems.
| | * If SHLIB_VERSION is specified as empty, don't let the SHLIB filename end ↵jan.nijtmans2017-05-221-7/+6
| | | | | | | | | | | | | | | with a dot (taken over from TEA) Cherry-pick [http://core.tcl.tk/tclconfig/info/c8eddeddb9bbabc4|c8eddeddb9] from TEA: Added /usr/pkg/lib to the paths searched on the journey to find tclConfig.sh
| | * Cherrypick Fix build on OpenBSD. [82701b94c4] missed a couple of bits.jan.nijtmans2017-05-211-1/+3
| | | | | | | | | Tcl/Tk's tcl.m4 isn't identical to TEA's tcl.m4 - be careful!
| * | Fix build on OpenBSD. [82701b94c4] missed a couple of bits.stu2017-05-201-1/+3
| | | | | | | | | | | | Tcl/Tk's tcl.m4 isn't identical to TEA's tcl.m4 - be careful!
| * | merge core-8-6-branchjan.nijtmans2017-05-181-36/+13
| |\ \ | | |/
| | * Cherry-pick [http://core.tcl.tk/tclconfig/info/18e79736d236d15d|All the ↵jan.nijtmans2017-05-181-36/+13
| | | | | | | | | | | | | | | world was a VAX] for OpenBSD. Also fix [http://core.tcl.tk/tk/tktview?name=84a27b1c67|84a27b1c67]: Tcl and Tk's tcl.m4 not synced? (configure script not re-generated yet, I'm sure Don will do that in the rc branch)
* | | (more experimenting): Make TCL_LL_MODIFIER behave more close to intuitive ↵jan.nijtmans2017-03-291-3/+3
|/ / | | | | | | | | expectations: If the platform has a "long long" type, use it for Tcl_WideInt, so TCL_LL_MODIFIER is really a replacement for "ll" on most platforms (Win32/Win64 as most notable exception). Will need a new TIP.
* | Merge core-8-6-branch. jan.nijtmans2017-01-111-1/+1
|\ \ | |/ | | | | Do gcc-compiles with the option -Wwrite-strings, so we can detect mis-usage of "const". Make Tcl_AddErrorInfo() and Tcl_AddObjErrorInfo() a macro.
* | compatability -> compatibilityjan.nijtmans2016-12-011-1/+1
|\ \ | |/
| * compatability -> compatibilityjan.nijtmans2016-12-011-1/+1
| |\
| | * compatability -> compatibilityjan.nijtmans2016-12-011-1/+1
| | |
* | | Fix signed-unsigned-compare warning (reported by François Vogel on Windows, ↵jan.nijtmans2016-03-221-1/+1
|/ / | | | | | | but gcc can trigger it as well)
* | On cygwin, install libtcl8.6.dll.a in the {prefix}/lib directory. On win32, ↵jan.nijtmans2015-11-261-1/+1
|\ \ | |/ | | | | don't create empty {prefix}/lib/tcl8/8.2 and {prefix}/lib/tcl8/8.3 directories any more during installing.
| * On cygwin, install libtcl8.5.dll.a in the {prefix}/lib directory. jan.nijtmans2015-11-261-1/+1
| | | | | | On win32, don't create empty {prefix}/lib/tcl8/8.2 and {prefix}/lib/tcl8/8.3 directories any more during installing.
* | Remove use of HAVE_USLEEP. It isn't use anywhere any morejan.nijtmans2015-10-251-42/+0
|\ \ | |/
| * Remove use of HAVE_USLEEP. It isn't use anywhere any more.jan.nijtmans2015-10-251-42/+0
| |
| * Tcl/OpenBSD/Sparc needs -fPIC.stwo2015-10-091-1/+1
| |
* | Tcl/OpenBSD/Sparc needs -fPIC.stwo2015-10-091-1/+1
| |
* | Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-231-0/+42
|\ \ | |/ | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
| * Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-231-0/+42
| |\ | | | | | | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
| | * merge trunkdgp2015-05-281-4/+2
| | |\ | |_|/ |/| |
| | * First attempt at implementing the necessary auto-magic for usleep.Joe Mistachkin2015-05-181-0/+42
| | |
| * | Better pic flag for OpenBSD.stwo2014-09-161-1/+8
| | |
* | | Missed a bitdgp2015-05-201-2/+1
| | |
* | | [29044ba23f] Remove RANLIB as part of library installation. At best it'sdgp2015-05-201-2/+1
| |/ |/| | | | | redundant to the RANLIB already done as part of library build. At worst, it conflicts with needs of cross-compiling. Thanks Erik Leunissen.
* | Tcl source code already assumes the <limits.h> file is available.dgp2015-03-241-4/+0
| | | | | | | | (See tcl/libtommath/tommath.h .) So dispose of all the configuration shenanigans pretending we want to support systems that lack one.
* | Better pic flag for OpenBSD.stwo2014-09-161-1/+8
| |
* | Combine TCL_SHLIB_LD_EXTRAS+TK_SHLIB_LD_EXTRAS (for Cygwin and FreeBSD) to a ↵jan.nijtmans2014-09-011-5/+3
|\ \ | |/ | | | | single SHLIB_LD_LIBS usable for both Tcl and Tk
| * Combine TCL_SHLIB_LD_EXTRAS+TK_SHLIB_LD_EXTRAS (for Cygwin and FreeBSD) to a ↵jan.nijtmans2014-09-011-4/+2
| | | | | | | | single SHLIB_LD_LIBS usable for both Tcl and Tk.
* | Make Cygwin's "configure" work from another directory than /unix. (Not ↵jan.nijtmans2014-05-091-2/+2
|\ \ | |/ | | | | everything works this way!)
| * Make Cygwin's "configure" work from another directory than /unix. (Not ↵jan.nijtmans2014-05-091-2/+2
| | | | | | | | everything works this way!)
* | Fix [2f7cbd01c3]: tcl8.6.1 fails to build on FreeBSD 10.0jan.nijtmans2014-03-201-5/+9
|\ \ | |/
| * Fix [2f7cbd01c3]: tcl8.6.1 fails to build on FreeBSD 10.0jan.nijtmans2014-03-201-13/+9
| |\
| | * Proposed fix for [2f7cbd01c3].jan.nijtmans2014-03-201-14/+10
| |/
* | sync tcl.m4 with Tk versionjan.nijtmans2014-01-251-0/+2
|\ \ | |/
| * sync tcl.m4 with Tk versionjan.nijtmans2014-01-251-0/+2
| |
* | Some formattingjan.nijtmans2013-11-191-12/+10
| |
* | Cygwin: Instead of checking whether the win32 part is configured properly, ↵jan.nijtmans2013-11-191-2/+9
|\ \ | |/ | | | | | | just configure it when needed. Always build the stub library first (and - on Cygwin - configure win32 properly just before building the stub library)
| * Cygwin: Instead of checking whether the win32 part is configured properly, ↵jan.nijtmans2013-11-191-2/+9
| | | | | | | | | | just configure it when needed. Always build the stub library first (and - on Cygwin - configure win32 properly just before building the stub library)