Ticket #176 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

tcl.m4 based autoconf support for VIC

Reported by: douglask Owned by: piers
Priority: major Milestone:
Component: rat Version: vic-branch-mpeg4
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 a configure script.

VIC 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.tk, 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. The attached tcl.m4 and aclocal.m4 files need to copied to the same dir where configure.in is located.

configure.in.x11 is no longer required and can be deleted as tcl.m4 provides the X11 switches that were used to build the Tk that VIC is linking against.

To simplify things, support for optionMenu.tcl and scrollbar.tcl filenames as supplied with Unix Tcl 7.5 and earlier has been dropped. Those files are now called optMenu.tcl and scrlbar.tcl respectively.

Attachments

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
VIC_tcl_m4.patch Download (14.2 KB) - added by douglask 6 years ago.
Patch for tcl.m4 support for VIC

Change History

Changed 6 years ago by douglask

aclocal.m4

Changed 6 years ago by douglask

tcl.m4

Changed 6 years ago by douglask

Patch for tcl.m4 support for VIC

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.