Changes between Version 11 and Version 12 of pm-structure-config


Ignore:
Timestamp:
May 8, 2011 6:46:44 AM (9 years ago)
Author:
stefan
Comment:

extend info on AC_CONFIG_HEADER macro

Legend:

Unmodified
Added
Removed
Modified
  • pm-structure-config

    v11 v12  
    106106 * The '''{{{AC_CONFIG_FILES}}}''' macro takes as its single argument a space-separated list of the files that are to be created from the corresponding {{{.in}}} template files. These are all the {{{Makefile}}}s and maybe some additional files.  In the example shown here, the project installs a ''prjct''{{{.pc}}} file, and this will also be created from a template. '''A template file must exist for each file listed in the argument to {{{AC_CONFIG_FILES}}}.'''
    107107
    108  * The '''{{{AC_CONFIG_HEADER}}}''' macro takes as its argument the name of the [wiki:pm-autotools-intro#ConfigurationHeaderFiles configuration header] file that is to be created by {{{configure}}}.  For this file, the template will be created by the autotools utility {{{autoheader}}}. [wiki:pm-autotools#BaseDirConfigAc Base directory configure.ac] files don't need this, since they do not gather information for compilation.
     108 * The '''{{{AC_CONFIG_HEADER}}}''' macro takes as its single argument a space-separated list of names of [wiki:pm-autotools-intro#ConfigurationHeaderFiles configuration header] files that are to be created by {{{configure}}}.  For the first file in this list, the template will be created by the autotools utility {{{autoheader}}}. For the remaining ones, the project manager has to provide the template files. [wiki:pm-autotools#BaseDirConfigAc Base directory configure.ac] files don't need this, since they do not gather information for compilation.
    109109
    110110 * The '''{{{AC_COIN_FINALIZE}}}''' macro takes care of actually writing the output. Internally, it uses the {{{AC_OUTPUT}}} macro, but since additional actions might have to be taken, you should use {{{AC_COIN_FINALIZE}}} instead of using {{{AC_OUTPUT}}} directly.  {{{AC_COIN_FINALIZE}}} also writes the "configuration successful" message before the {{{configure}}} script finally stops.