diff mbox series

release-notes-5.2.rst: add information about autotools changes

Message ID 20250227143418.3523136-1-ross.burton@arm.com
State Under Review
Headers show
Series release-notes-5.2.rst: add information about autotools changes | expand

Commit Message

Ross Burton Feb. 27, 2025, 2:34 p.m. UTC
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 documentation/migration-guides/release-notes-5.2.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Antonin Godard March 3, 2025, 9:41 a.m. UTC | #1
Hi Ross,

On Thu Feb 27, 2025 at 3:34 PM CET, Ross Burton via lists.yoctoproject.org wrote:
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  documentation/migration-guides/release-notes-5.2.rst | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/documentation/migration-guides/release-notes-5.2.rst b/documentation/migration-guides/release-notes-5.2.rst
> index 417b202cd..75d860aff 100644
> --- a/documentation/migration-guides/release-notes-5.2.rst
> +++ b/documentation/migration-guides/release-notes-5.2.rst
> @@ -299,6 +299,16 @@ New Features / Enhancements in |yocto-ver|
>        currently prints warning message for every unpatched CVE the
>        :ref:`ref-classes-cve-check` class finds.
>  
> +-  :ref:`ref-classes-autotools` changes:
> +
> +   - Changes to how ``aclocal`` is invoked means that ``ACLOCALDIR`` and
> +     ``ACLOCALEXTRAPATH`` are no longer used.

Nit: this bullet and the next would need to be indented by 2.

> +
> +   - Directories containing m4 files are no longer found automatically and
> +     passed to ``autoreconf``. If a recipe fails to configure because it cannot find
> +     m4 macros, then usually the solution is to set ``EXTRA_AUTORECONF += "-I
> +     path/to/m4"`` in the recipe.
> +
>  -  New :term:`PACKAGECONFIG` options for individual recipes:
>  
>        -  ``perf``: ``zstd``

I think this would fit better in the migration guide since this is potentially a
breaking change (documentation/migration-guides/migration-5.2.rst).

Thanks,
Antonin
diff mbox series

Patch

diff --git a/documentation/migration-guides/release-notes-5.2.rst b/documentation/migration-guides/release-notes-5.2.rst
index 417b202cd..75d860aff 100644
--- a/documentation/migration-guides/release-notes-5.2.rst
+++ b/documentation/migration-guides/release-notes-5.2.rst
@@ -299,6 +299,16 @@  New Features / Enhancements in |yocto-ver|
       currently prints warning message for every unpatched CVE the
       :ref:`ref-classes-cve-check` class finds.
 
+-  :ref:`ref-classes-autotools` changes:
+
+   - Changes to how ``aclocal`` is invoked means that ``ACLOCALDIR`` and
+     ``ACLOCALEXTRAPATH`` are no longer used.
+
+   - Directories containing m4 files are no longer found automatically and
+     passed to ``autoreconf``. If a recipe fails to configure because it cannot find
+     m4 macros, then usually the solution is to set ``EXTRA_AUTORECONF += "-I
+     path/to/m4"`` in the recipe.
+
 -  New :term:`PACKAGECONFIG` options for individual recipes:
 
       -  ``perf``: ``zstd``