Changes between Version 6 and Version 7 of pm-switch


Ignore:
Timestamp:
Nov 2, 2010 8:43:16 PM (9 years ago)
Author:
stefan
Comment:

_HAS_ renamed to _CHECK_

Legend:

Unmodified
Added
Removed
Modified
  • pm-switch

    v6 v7  
    2929
    3030{{{
    31 BuildTools        https://projects.coin-or.org/svn/BuildTools/trunk
     31BuildTools        https://projects.coin-or.org/svn/BuildTools/stable/0.6
    3232ThirdParty/ASL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/trunk
    3333ThirdParty/Blas   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/trunk
     
    8585
    8686 1. The function {{{AC_COIN_PROJECTDIR_INIT}}} now takes as an argument the name of the project, so the call would now be {{{AC_COIN_PROJECTDIR_INIT(Xxx)}}}.
    87  1. Calls to {{{AC_COIN_HAS_PROJECT()}}} should be replaced with calls to {{{AC_COIN_HAS_PACKAGE()}}}. There are also three arguments now.
     87 1. Calls to {{{AC_COIN_HAS_PROJECT()}}} should be replaced with calls to {{{AC_COIN_CHECK_PACKAGE()}}}. There are also three arguments now.
    8888   * The first argument is the name of the "package", which can consist of multiple COIN-OR projects. For example, one can defined a "package" consisting of both CoinUtils and Clp, called {{{CoinDepend}}} and make the configuration bail out when any component of the package is not present. This mechanism is meant for cases in which a project is not useful by itself, but only in combination with others.
    8989   * The second argument are the names the pkg-config files associated with the projects that make up the package, with the optional ability to specify specific required versions (see example below).
    9090   * The third argument can be used to specify a particular library or binary to which the particular dependency applies. This is for cases where the project exports both a library and a binary executable and these have different dependencies. In this case, different command lines are built up for each of them separately.
    91    * An example of how this comes together is the call {{{AC_COIN_HAS_PACKAGE(CoinDepend, [coinutils = trunk osi = trunk alps = trunk], [DipLib])}}}, which defines a package called {{{CoinDepend}}} that consists of the trunk versions of !CoinUtils, Osi, and Alps. The dependency applies to the Dip library. We'll see below how this specification comes to play in the Makefiles.
    92  1. Calls to the function {{{AC_COIN_HAS_USER_LIBRARY()}}} can generally be replaced with calls to {{{AC_COIN_HAS_PACKAGE()}}} if they apply to solvers to be used through Osi. This is because the {{{OsiYyy}}} packages now have pkg-config support. So the call to check for the presence of CPLEX, for example, is now {{{AC_COIN_HAS_PACKAGE(Cpx,  [osi-cplex],  [DipLib])}}}.
     91   * An example of how this comes together is the call {{{AC_COIN_CHECK_PACKAGE(CoinDepend, [coinutils = trunk osi = trunk alps = trunk], [DipLib])}}}, which defines a package called {{{CoinDepend}}} that consists of the trunk versions of !CoinUtils, Osi, and Alps. The dependency applies to the Dip library. We'll see below how this specification comes to play in the Makefiles.
     92 1. Calls to the function {{{AC_COIN_HAS_USER_LIBRARY()}}} can generally be replaced with calls to {{{AC_COIN_CHECK_PACKAGE()}}} if they apply to solvers to be used through Osi. This is because the {{{OsiYyy}}} packages now have pkg-config support. So the call to check for the presence of CPLEX, for example, is now {{{AC_COIN_CHECK_PACKAGE(Cpx,  [osi-cplex],  [DipLib])}}}.
     93  Other uses of the macros {{{AC_COIN_HAS_USER_LIBRARY}}} should be renamed to {{{AC_COIN_CHECK_USER_LIBRARY}}}.
    9394 1. The list of files to be created by the configure script (listed as arguments to the {{{AC_CONFIG_FILES}}} command must now include {{{Xxx.pc}}} and {{{Xxx-uninstalled.pc}}} (see below for a description of the corresponding .in files).
    9495