[PATCH 6/6] libstdc++: Update AC_FOREACH to m4_foreach_w [PR103459]
Jonathan Wakely
jwakely@redhat.com
Thu Jun 25 09:36:47 GMT 2026
On Thu, 25 Jun 2026 at 04:05, Pietro Monteiro <pietro@sociotechnical.xyz> wrote:
>
> AC_FOREACH has been deprecated by Autoconf. Update to
> m4_foreach_w. No changes to generated files.
OK for trunk.
>
> PR bootstrap/103459
>
> libstdc++-v3/ChangeLog:
>
> * configure.ac: Update AC_FOREACH to m4_foreach_w.
>
> Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
> ---
> libstdc++-v3/configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac
> index c442d068e7a..db08de7735e 100644
> --- a/libstdc++-v3/configure.ac
> +++ b/libstdc++-v3/configure.ac
> @@ -802,7 +802,7 @@ AC_CONFIG_FILES([src/libbacktrace/backtrace-supported.h])
> # append it here. Only modify Makefiles that have just been created.
> #
> # Also, get rid of this simulated-VPATH thing that automake does.
> -AC_CONFIG_FILES(AC_FOREACH([DIR], glibcxx_SUBDIRS, [DIR/Makefile ]),
> +AC_CONFIG_FILES(m4_foreach_w([DIR], glibcxx_SUBDIRS, [DIR/Makefile ]),
> [cat > vpsed$$ << \_EOF
> s!`test -f '$<' || echo '$(srcdir)/'`!!
> _EOF
> --
> 2.43.0
>
More information about the Libstdc++
mailing list