Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cd4bb37ae96fed2ec8eb836590e7d0b21cb8598b819e12b2a94aa7a55f0bcf6e
Ticket: a63a35d5ae493cd968f77b16947b1188572cc5c2
reunite old comment with relevant code in unix/configure.ac
User & Date: chrstphrchvz on 2022-04-16 18:26:11
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    A comment in unix/configure.ac seems to have become separated over time from the relevant code:
    
    <blockquote><pre>
    # Note:  in the following variable, it's important to use the absolute
    # path name of the Tcl directory rather than "..":  this is because
    # AIX remembers this path and will attempt to use it at run-time to look
    # up the Tcl library.
    
    if test "`uname -s`" = "Darwin" ; then
    &mldr;
    </pre></blockquote>
    
    Here is the comment as it first appeared in unix/configure.in for Tcl 7.5 (I am not certain, but would guess that it is explaining the <tt>-L`pwd`</tt> usage for <tt>TCL_BUILD_LIB_SPEC</tt>; I did not locate earlier versions or any discussion more specific than remarks in the changes file from March 1996 about getting configuration working on AIX):
    
    <blockquote><pre>
    # Note:  in the following variable, it's important to use the absolute
    # path name of the Tcl directory rather than "..":  this is because
    # AIX remembers this path and will attempt to use it at run-time to look
    # up the Tcl library.
    
    if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
        TCL_BUILD_LIB_SPEC="-L`pwd` -ltcl${VERSION}"
        TCL_LIB_SPEC="-L${exec_prefix}/lib -ltcl${VERSION}"
    else
        TCL_BUILD_LIB_SPEC="-L`pwd` -ltcl`echo ${VERSION} | tr -d .`"
        TCL_LIB_SPEC="-L${exec_prefix}/lib -ltcl`echo ${VERSION} | tr -d .`"
    fi
    </pre></blockquote>
    
    Is this comment still relevant and should be relocated/rephrased (so as not to get lost again)?
    
  5. foundin changed to: "8.0 (roughly) and later"
  6. is_private changed to: "0"
  7. login: "chrstphrchvz"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "chrstphrchvz"
  13. subsystem changed to: "53. Configuration and Build Tools"
  14. title changed to:
    reunite old comment with relevant code in unix/configure.ac
    
  15. type changed to: "Bug"