Changes between Version 2 and Version 3 of pm-project-config


Ignore:
Timestamp:
May 31, 2006 8:37:04 PM (14 years ago)
Author:
andreasw
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pm-project-config

    v2 v3  
    1111 * Other project specific tests and settings (such as byte size of types, existence of header files etc)
    1212
    13 In the following we describe the indiviual parts of the {{{configure.ac}} file body in more details and present examples.
     13In the following we describe the indiviual parts of the {{{configure.ac}}} file body in more details and present examples.
    1414
    1515== Initialization of Tools and Compilers ==
     
    100100The arguments have to following meaning:
    101101
    102  1. ''Name of the package''. 
     102 1. ''Name of the library package''.  This is the name as it will appear in the {{{configure}}} output.
     103 1. ''Abbreviation of the library package''.  This should all be in capital letters.  Using this macro will make {{{configure}}} options available to the user, to specify the link commands for the library, and the specify the directory in which the library header files can be found.  The name of the flags use the abbreviation given as this second argument to the macro.  In the above exmaple, the {{{--with-cpx-lib}}} flag should be used by the user to specify the link commands, and the flags {{{--with-cpx-incdir}}} to specify the directory with the header files.
     104 1. ''Name of a header file''.  This is the name of a header file that should be in the include directory provided by the user via {{{-with-cpx-incdir}}}.  If this file is not found, the {{{configure}}} script terminates with an error message.  If this argument is omitted, the test will not be performed.
     105 1. ''Name of a C function in the library''.  This should be the name of a C function has should be defined in the library.  If the users uses the {{{--with-cpx-lib}}} flag, it is tested if this function is indeed available.  If not, the {{{configure}}} script with fail with an error message.  If this argument for the macro is omitted, this test is skipped.
     106
     107A user will have to either specify both {{{--with-libname-incdir}}} and {{{--with-libname-lib}}} flags, or none.  After successful completation of the tests, the link commands will be added to the automake output variable {{{ADDLIBS}}}.  Also,