Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0d988fb04ac47c8990ae6d85ba1b60fbb236f888
Ticket: 1244153fffffffffffffffffffffffffffffffff
Fix tclsh search macros in tcl.m4
User & Date: mdejong on 2005-07-25 00:37:19
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The SC_PROG_TCLSH macro in the current CVS HEAD  and
    Tcl 8.4.11 release is badly broken. It will search both
    the PATH
    and the Tcl build and install dirs for a tclsh
    executable. Most of
    the time this works, but if anything goes wrong the
    user gets
    really strange errors. Most of the time an extension
    will only
    need to run the tclsh in the Tcl build dir. Another Tcl
    shell
    installed on the PATH will not work for running test cases.
    Sometimes an extension will need to run an installed
    Tcl shell
    to execute Makefile rules like `make genstubs`. To
    support both
    of these uses without getting them mixed up, I have
    split the
    functionality into two macros. The SC_PROG_TCLSH macro
    will search for a tclsh installed on the system PATH
    for the
    case where `make genstubs` or something like it needs
    to be done.
    The SC_BUILD_TCLSH macro will determine the name of
    the tclsh executable built in the Tcl build dir and
    subst the
    BUILD_TCLSH variable into an extension makefile.
    
    This patch will change tcl, tk, tclconfig,
    sampleextension, and
    whatever other extensions depend on tclconfig. I am
    going to
    check this info the HEAD and the Tcl 8.4 branch.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mdejong"
  9. subsystem changed to: "53. Configure and Build Tools"
  10. title changed to: "Fix tclsh search macros in tcl.m4"
  11. type changed to: "Patch"