autoconf-archive-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #10457] Proposal for the new AX_EXTERNAL_INCLUDED_* macros that m


From: anonyme
Subject: [patch #10457] Proposal for the new AX_EXTERNAL_INCLUDED_* macros that make easy the handling of libraries/headers
Date: Wed, 29 May 2024 14:09:45 -0400 (EDT)

URL:
  <https://savannah.gnu.org/patch/?10457>

                 Summary: Proposal for the new  AX_EXTERNAL_INCLUDED_* macros
that make easy the handling of libraries/headers
                   Group: GNU Autoconf Archive
               Submitter: None
               Submitted: mer. 29 mai 2024 18:09:44
                Priority: 3 - Low
                  Status: None
             Assigned to: None
        Originator Email: alban.mancheron@lirmm.fr
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: mer. 29 mai 2024 18:09:44      By: Anonymous
Hi,

You will find a proposal for integrating a set of 5 new macros to handle
libraries/headers that:
* may be installed on the hosting system
* may be installed on the hosting system but in some not conventional place
* may be absent or obsolete on the hosting system
* are included (typically as as submodules) in some project.

These macros define `--with-included-NAME[=yes*|no|check]`,
`--without-included-NAME` and `--with-NAME-path=DIR` (for headers) or
`--with-NAME-prefix=DIR` (for libraries) options.

According to the configure script options for the NAME library/header(s), the
C/C++ compiler and linker (for libraries) flags are computed and stored in
dedictade variables.

The proposed macros are writen by taking care of the recommandations of the
autoconf archive contributing guide :
* Each file defines one macro and the file name is the macro name downcased
(ending with extension `.m4`)
* Each file is clearly documented with the three required sections (SYNOPSIS,
DESCRIPTION and LICENSE) and the author and e-mail (me) is mentioned. 
* Each macro is released under the CeCILL open source licence (which is one of
the listed allowed licence).


Here is the summary of the 3 main macros:
* `AX_EXTERNAL_INCLUDED_C_LIBRARY_DETECTION()`: Handle the use of some C
external library
* `AX_EXTERNAL_INCLUDED_CXX_LIBRARY_DETECTION()`: Handle the use of some C++
external library
* `AX_EXTERNAL_INCLUDED_CPP_HEADER_DETECTION()`: Handle the use of some C/C++
external header file

These macros are built over the two following helper macros:
* `AX_EXTERNAL_INCLUDED_LIBRARY_DECLARE_OPTIONS()`: Only declare configure
script options
* `AX_EXTERNAL_INCLUDED_GENERIC_LIBRARY_CHECK()`: Handle the use of some C/C++
external library

Many thanks for considering this proposal.

Sincerely,
Alban Mancheron







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10457>

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]