Changes between Version 4 and Version 5 of pm-base-config


Ignore:
Timestamp:
Jun 2, 2006 8:39:44 PM (14 years ago)
Author:
andreasw
Comment:

cleaned up

Legend:

Unmodified
Added
Removed
Modified
  • pm-base-config

    v4 v5  
    11= The Package Base Directory configure.ac File =
    22
    3 The purpose of the configuration script in a package's base directory ({{{Coin-Clp}}} in the [wiki:user-directories example]) is to test what COIN project subdirectories are present and should be compiled, and then initiate the configuration in those subdirectories.
     3The purpose of the configuration script in a package's base directory ({{{Coin-Clp}}} in the [wiki:user-directories example]) is to test what COIN project subdirectories are present and should be compiled, and then to initiate the configuration in those subdirectories.
    44
    55The beginning and the end of the file follow the [wiki:pm-structure-config basic structure] of {{{configure.ac}}} files.  The body for a base directory {{{configure.ac}}} file then looks like this:
     
    3838 * The '''AC_COIN_INIT_AUTOMAKE''' macro initializes everything that is required to use Automake in connection with this {{{configure.ac}}} file.  Since no compilation is done at this basic level, we don't need to check for any compiler or other things.
    3939
    40  * The '''AC_COIN_MAIN_SUBDIRS''' tell us the names of subdirectories with other COIN projects that should be compiled for this package.  In each subdirectory should also be a {{{configure.ac}}} file.  The final configure and Makefiles will recurse into those directories ''in the specified order'', i.e., if there are interdependencies, e.g., between libraries, '''make sure that you list the project subdirectories in the right order.'''  If during the run of {{{configure}}} by the user a subdirectory is not found, the configuration and make for that subdirectory is skipped.
     40 * The '''AC_COIN_MAIN_SUBDIRS''' macros tell us the names of subdirectories with COIN projects that should be compiled for this package.  In each subdirectory should also be a {{{configure.ac}}} file.  The final configure and Makefiles will recurse into those directories ''in the specified order'', i.e., if there are interdependencies, e.g., between libraries, '''make sure that you list the project subdirectories in the right order.'''  If during the run of {{{configure}}} by the user a subdirectory is not found, the configuration and make for that subdirectory is skipped.
    4141
    42  Note that we also specify subdirectories for {{{Data}}}; those subdirectories contain data files required for running the unit tests or example programs.
     42 Note that, in the above example, we also specify subdirectories for {{{Data}}}; those subdirectories contain data files required for running the unit tests or example programs.