fixincludes: add AC_CONFIG_MACRO_DIRS to configure.ac
Checks
| Context |
Check |
Description |
| linaro-tcwg-bot/tcwg_gcc_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_simplebootstrap_build--master-arm-bootstrap |
success
|
Build passed
|
Commit Message
From: Simon Marchi <simon.marchi@polymtl.ca>
Add an "AC_CONFIG_MACRO_DIRS" call in configure.ac, with the same
directories as specified in "ACLOCAL_AMFLAGS", in Makefile.in.
This makes it possible to re-generate aclocal.m4 from scratch using
"autoreconf". This will allow simplifying autoregen.py.
fixincludes/ChangeLog:
* configure.ac: Add AC_CONFIG_MACRO_DIRS.
* configure: Regenerate.
---
fixincludes/configure | 1 +
fixincludes/configure.ac | 1 +
2 files changed, 2 insertions(+)
base-commit: 3b60e2204e225ea643fe54a999848f99d49a6659
Comments
On Thu, Oct 1, 2026 at 9:53 AM Simon Marchi <simon.marchi@efficios.com> wrote:
>
> From: Simon Marchi <simon.marchi@polymtl.ca>
>
> Add an "AC_CONFIG_MACRO_DIRS" call in configure.ac, with the same
> directories as specified in "ACLOCAL_AMFLAGS", in Makefile.in.
>
> This makes it possible to re-generate aclocal.m4 from scratch using
> "autoreconf". This will allow simplifying autoregen.py.
Ok.
>
> fixincludes/ChangeLog:
>
> * configure.ac: Add AC_CONFIG_MACRO_DIRS.
> * configure: Regenerate.
> ---
> fixincludes/configure | 1 +
> fixincludes/configure.ac | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/fixincludes/configure b/fixincludes/configure
> index 3e572537c3d6..1af9242116b4 100755
> --- a/fixincludes/configure
> +++ b/fixincludes/configure
> @@ -4626,6 +4626,7 @@ $as_echo "$ac_cv_path_SED" >&6; }
> rm -f conftest.sed
>
>
> +
> # Figure out what compiler warnings we can enable.
> # See config/warnings.m4 for details.
>
> diff --git a/fixincludes/configure.ac b/fixincludes/configure.ac
> index 30bef64b5eca..dc098c371c58 100644
> --- a/fixincludes/configure.ac
> +++ b/fixincludes/configure.ac
> @@ -7,6 +7,7 @@ AC_CANONICAL_TARGET
> AC_PROG_CC
> AC_USE_SYSTEM_EXTENSIONS
> AC_PROG_SED
> +AC_CONFIG_MACRO_DIRS([.. ../config])
>
> # Figure out what compiler warnings we can enable.
> # See config/warnings.m4 for details.
>
> base-commit: 3b60e2204e225ea643fe54a999848f99d49a6659
> --
> 2.55.0
>
On 10/8/26 11:36 PM, Andrea Pinski wrote:
> On Thu, Oct 1, 2026 at 9:53 AM Simon Marchi <simon.marchi@efficios.com> wrote:
>>
>> From: Simon Marchi <simon.marchi@polymtl.ca>
>>
>> Add an "AC_CONFIG_MACRO_DIRS" call in configure.ac, with the same
>> directories as specified in "ACLOCAL_AMFLAGS", in Makefile.in.
>>
>> This makes it possible to re-generate aclocal.m4 from scratch using
>> "autoreconf". This will allow simplifying autoregen.py.
>
> Ok.
Thanks, pushed.
Simon
@@ -4626,6 +4626,7 @@ $as_echo "$ac_cv_path_SED" >&6; }
rm -f conftest.sed
+
# Figure out what compiler warnings we can enable.
# See config/warnings.m4 for details.
@@ -7,6 +7,7 @@ AC_CANONICAL_TARGET
AC_PROG_CC
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_SED
+AC_CONFIG_MACRO_DIRS([.. ../config])
# Figure out what compiler warnings we can enable.
# See config/warnings.m4 for details.