Ticket #175 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

tcl.m4 based autoconf support for RAT

Reported by: douglask Owned by: piers
Priority: major Milestone:
Component: rat Version: 4.5
Keywords: Cc:

Description

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.

Attachments

RAT_tcl_m4.patch Download (11.2 KB) - added by douglask 6 years ago.
patch to add tcl.m4 support to RAT
aclocal.m4 Download (24 bytes) - added by douglask 6 years ago.
aclocal.m4
tcl.m4 Download (14.5 KB) - added by douglask 6 years ago.
tcl.m4

Change History

Changed 6 years ago by douglask

patch to add tcl.m4 support to RAT

Changed 6 years ago by douglask

aclocal.m4

Changed 6 years ago by douglask

tcl.m4

Changed 6 years ago by douglask

Forgot to mention, tested RAT tcl.m4 support on a number of 32 & 64 bit Linux distributions and MacOS X.

Changed 6 years ago by douglask

  • status changed from new to closed
  • type changed from defect to enhancement
  • resolution set to fixed
Note: See TracTickets for help on using tickets.