Changeset 89


Ignore:
Timestamp:
Aug 4, 2002, 10:35:24 AM (17 years ago)
Author:
landonf
Message:

More configure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Tcl/port1.0/portconfigure.tcl

    r64 r89  
    44
    55register target configure portconfigure::main
    6 register requires configure main fetch extract checksum patch
     6register requires main fetch extract checksum patch
    77
    88namespace eval portconfigure {
     
    1111
    1212# define globals
    13 globals portconfigure::options
     13globals portconfigure::options configure configure.type configure.args configure.worksrcdir automake automake.env automake.args autoconf autoconf.env autoconf.args xmkmf libtool
    1414
    1515# define options
    16 options portconfigure::options configure configure_args gnu_configure xmkmf use_imake use_automake automake_env use_autoconf use_libtool
     16options portconfigure::options configure configure.type configure.args configure.worksrcdir automake automake.env automake.args autoconf autoconf.env autoconf.args xmkmf libtool
    1717
    1818proc portconfigure::main {args} {
    19         global portname workdir
     19        global portname portpath workdir
     20
     21        if [isval portconfigure::options configure.worksrcdir] {
     22                set configpath ${pathpath}/${workdir}/${worksrcdir}/${configure.worksrcdir}
     23        } else {
     24                set configpath ${pathpath}/${workdir}/${worksrcdir}
     25        }
     26
     27        cd $configpath
     28        if [isval portconfigure::options automake] {
     29                # XXX depend on automake
     30               
     31        }
     32               
    2033
    2134        return 0
Note: See TracChangeset for help on using the changeset viewer.