Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 077114afc04d029450af98fad367b638180513a3
Ticket: 507083ffffffffffffffffffffffffffffffffff
TIP 59 Implementation
User & Date: andreas_kupries on 2002-02-20 04:44:05
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    I have decided to remove the prefix/exec_prefix stuff and 
    use the individual paths instead, i.e. libdir, bindir, 
    includedir, scriptdir, docdir, for both runtime and install.
    
    A problematic thing is that sometimes a path may look 
    like "/home/andreask/sf-dev/tip59/b/../i/lib/tcl8.4".
    
    To avoid this we either have to specify absolute paths to 
    configure, or perform a processing step before transfering 
    the information into the .c file. Note that this processing 
    can be done only lexically, i.e. with sed. As the paths are 
    created only during installation (or may not even exist 
    from the view of the installer) it is not possible to 
    perform "cd path; x=`pwd`; cd back".
    
    Example output
    [andreask@pliers b]$ ./tclsh ../query
    Querying embedded configuration
    _______________________________
    debug   = 1
    threaded        = 0
    profiled        = 0
    64bit   = 0
    optimized       = 0
    mem_debug       = 0
    compile_debug   = 0
    compile_stats   = 0
    libdir,runtime  = /home/andreask/sf-dev/tip59/b/../i/lib
    bindir,runtime  = /home/andreask/sf-dev/tip59/b/../i/bin
    scriptdir,runtime       = /home/andreask/sf-
    dev/tip59/b/../i/lib/tcl8.4
    includedir,runtime      = /home/andreask/sf-
    dev/tip59/b/../i/include
    docdir,runtime  = /home/andreask/sf-dev/tip59/b/../i/man
    libdir,install  = /home/andreask/sf-dev/tip59/b/../i/lib
    bindir,install  = /home/andreask/sf-dev/tip59/b/../i/bin
    scriptdir,install       = /home/andreask/sf-
    dev/tip59/b/../i/lib/tcl8.4
    includedir,install      = /home/andreask/sf-
    dev/tip59/b/../i/include
    docdir,install  = /home/andreask/sf-dev/tip59/b/../i/man
    _______________________________
    
    
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"