Changeset 30761 for trunk/base


Ignore:
Timestamp:
Nov 6, 2007, 10:57:52 AM (12 years ago)
Author:
mww@…
Message:

add configure.[awk,bison,pkg_config,pkg_config_path] options

File:
1 edited

Legend:

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

    r30396 r30761  
    5454
    5555# Configure special environment variables.
    56 options configure.cflags configure.cppflags configure.cxxflags configure.objcflags configure.ldflags configure.libs configure.fflags configure.f90flags configure.fcflags configure.classpath configure.perl configure.python configure.ruby configure.install
    5756# We could have default debug/optimization flags at some point.
     57# compiler flags section
     58options configure.cflags configure.cppflags configure.cxxflags configure.objcflags configure.ldflags configure.libs configure.fflags configure.f90flags configure.fcflags configure.classpath
    5859default configure.pipe          no
    5960default configure.cflags        {-O2}
     
    6768default configure.fcflags       {-O2}
    6869default configure.classpath     {}
     70
     71# tools section
     72options configure.perl configure.python configure.ruby configure.install configure.awk configure.bison configure.pkg_config configure.pkg_config_path
    6973default configure.perl          {}
    7074default configure.python        {}
    7175default configure.ruby          {}
    7276default configure.install       {"/usr/bin/install"}
     77default configure.awk           {}
     78default configure.bison         {}
     79default configure.pkg_config    {}
     80default configure.pkg_config_path       {}
    7381
    7482# Universal options & default values.
     
    135143    global [info globals]
    136144    global worksrcpath use_configure use_autoconf use_automake use_xmkmf
    137     global configure.env configure.pipe configure.cflags configure.cppflags configure.cxxflags configure.objcflags configure.ldflags configure.libs configure.fflags configure.f90flags configure.fcflags configure.classpath configure.perl configure.python configure.ruby configure.install
     145    global configure.env configure.pipe configure.cflags configure.cppflags configure.cxxflags configure.objcflags configure.ldflags configure.libs configure.fflags configure.f90flags configure.fcflags configure.classpath
     146    global configure.perl configure.python configure.ruby configure.install configure.awk configure.bison configure.pkg_config configure.pkg_config_path
    138147    global configure.ccache configure.distcc configure.cc configure.cxx configure.cpp configure.objc configure.f77 configure.f90 configure.fc configure.javac configure.compiler prefix
    139148    global os.platform os.major
     
    290299                append_list_to_environment_value configure "RUBY" ${configure.ruby}
    291300                append_list_to_environment_value configure "INSTALL" ${configure.install}
     301                append_list_to_environment_value configure "AWK" ${configure.awk}
     302                append_list_to_environment_value configure "BISON" ${configure.bison}
     303                append_list_to_environment_value configure "PKG_CONFIG" ${configure.pkg_config}
     304                append_list_to_environment_value configure "PKG_CONFIG_PATH" ${configure.pkg_config_path}
    292305
    293306                # Execute the command (with the new environment).
Note: See TracChangeset for help on using the changeset viewer.