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


Ignore:
Timestamp:
Feb 1, 2007 7:48:49 PM (13 years ago)
Author:
andreasw
Comment:

update information regarding AC_COIN_CREATE_LIBTOOL

Legend:

Unmodified
Added
Removed
Modified
  • pm-base-config

    v5 v6  
    1010.
    1111
    12 #############################################################################
    13 #     We only need automake to generate Makefiles for the distribution      #
     12##############################################################################
     13#              Create the libtool script for the subdirectories             #
    1414#############################################################################
    1515
    16 # Initialize automake
    17 AC_COIN_INIT_AUTOMAKE
     16AC_COIN_CREATE_LIBTOOL
    1817
    1918#############################################################################
     
    3635}}}
    3736
    38  * 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.
     37 * The '''AC_COIN_CREATE_LIBTOOL''' macro executes a number of tests, and then creates the [wiki:pm-autotools-intro#Libtool libtool script].  If this script exists in the base directory, it can be used in the subdirectories, and doesn't have to be recreated there.  Using this macro here speeds up the configuration time considerably.
    3938
    4039 * 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.