1 --- tcl8.5a3/unix/tcl.m4.orig 2005-06-18 11:12:06.405033000 +0200
2 +++ tcl8.5a3/unix/tcl.m4 2005-06-18 21:23:51.193057968 +0200
4 #--------------------------------------------------------------------
5 # On a few very rare systems, all of the libm.a stuff is
6 # already in libc.a. Set compiler flags accordingly.
7 - # Also, Linux requires the "ieee" library for math to work
8 - # right (and it must appear before "-lm").
9 #--------------------------------------------------------------------
11 AC_CHECK_FUNC(sin, MATH_LIBS="", MATH_LIBS="-lm")
12 - AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
14 #--------------------------------------------------------------------
15 # Interactive UNIX requires -linet instead of -lsocket, plus it