Ticket #175 (closed enhancement: fixed)
tcl.m4 based autoconf support for RAT
|Reported by:||douglask||Owned by:||piers|
Later Tcl source distributions include a tcl.m4 file which has Tcl/Tk specific autoconf macros.
Using tcl.m4 is now the recommended approach to capture some important Tcl/Tk results in configure scripts.
RAT currently doesn't build against Tcl/Tk 8.5, adding Tcl/Tk 8.5 support is a good opportunity for modifying configure.in to use tcl.m4.
Using tcl.m4 considerably simplifies configure.in, it can deal with either a source installation or a full installation for Tcl/Tk >= 8.4 or a UCL Tcl/TK 8.0 source installation.
The attached patch adds tcl.m4 support to configure.in and Makefile.in. The attached tcl.m4 and aclocal.m4 files need to copied to the same dir where configure.in is located.
To simplify things, the configure.in code dealing with g++ >= 2.95 and broken X11 headers (with implicit int declarations) on Solaris 7 & 8 was removed. Those broken Solaris X11 headers are no longer an issue on later versions of Solaris.