Changeset 30216 for trunk/base


Ignore:
Timestamp:
Oct 22, 2007, 9:56:23 PM (12 years ago)
Author:
mww@…
Message:

add configure.-variables for LIBS, PYTHON (those are used frequently), PERL, RUBY (to avoid complains) and INSTALL (for avoiding breakage due to installed coreutils)

File:
1 edited

Legend:

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

    r30032 r30216  
    5454
    5555# Configure special environment variables.
    56 options configure.cflags configure.cppflags configure.cxxflags configure.objcflags configure.ldflags configure.fflags configure.f90flags configure.fcflags configure.classpath configure.macosx_deployment_target
     56options configure.cflags configure.cppflags configure.cxxflags configure.objcflags configure.ldflags configure.libs configure.fflags configure.f90flags configure.fcflags configure.classpath configure.macosx_deployment_target configure.perl configure.python configure.ruby configure.install
    5757# We could have default debug/optimization flags at some point.
    5858default configure.pipe          no
     
    6262default configure.objcflags     {-O2}
    6363default configure.ldflags       {"-L${prefix}/lib"}
     64default configure.libs          {}
    6465default configure.fflags        {-O2}
    6566default configure.f90flags      {-O2}
     
    6768default configure.classpath     {}
    6869default configure.macosx_deployment_target      {}
     70default configure.perl          {}
     71default configure.python        {}
     72default configure.ruby          {}
     73default configure.install       {"/usr/bin/install"}
    6974
    7075# Universal options & default values.
     
    131136    global [info globals]
    132137    global worksrcpath use_configure use_autoconf use_automake use_xmkmf
    133     global configure.env configure.pipe configure.cflags configure.cppflags configure.cxxflags configure.objcflags configure.ldflags configure.fflags configure.f90flags configure.fcflags configure.classpath configure.macosx_deployment_target
     138    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.macosx_deployment_target configure.perl configure.python configure.ruby configure.install
    134139    global configure.ccache configure.distcc configure.cc configure.cxx configure.cpp configure.objc configure.f77 configure.f90 configure.fc configure.javac configure.compiler prefix
    135140    global os.platform os.major
     
    277282                append_list_to_environment_value configure "OBJCFLAGS" ${output}${configure.objcflags}
    278283                append_list_to_environment_value configure "LDFLAGS" ${configure.ldflags}
     284                append_list_to_environment_value configure "LIBS" ${configure.libs}
    279285                append_list_to_environment_value configure "FFLAGS" ${output}${configure.fflags}
    280286                append_list_to_environment_value configure "F90FLAGS" ${output}${configure.f90flags}
     
    282288                append_list_to_environment_value configure "CLASSPATH" ${configure.classpath}
    283289                append_list_to_environment_value configure "MACOSX_DEPLOYMENT_TARGET" ${configure.macosx_deployment_target}
     290                append_list_to_environment_value configure "PERL" ${configure.perl}
     291                append_list_to_environment_value configure "PYTHON" ${configure.python}
     292                append_list_to_environment_value configure "RUBY" ${configure.ruby}
     293                append_list_to_environment_value configure "INSTALL" ${configure.install}
    284294
    285295                # Execute the command (with the new environment).
Note: See TracChangeset for help on using the changeset viewer.