Hi gcc-patches mailing list, pietro via Sourceware Forge <[email protected]> has requested that the following forgejo pull request be published on the mailing list.
Created on: 2026-06-02 17:45:49+00:00 Latest update: 2026-06-02 18:08:13+00:00 Changes: 65 changed files, 408 additions, 383 deletions Head revision: pietro/gcc-TEST ref update-configury commit 441549574ab382f1ed599f3e4361289a5d66d35d Base revision: gcc/gcc-TEST ref trunk commit bfecb8bf5de888710a79ffff31370f48d511f18c r17-1147-gbfecb8bf5de888 Merge base: bfecb8bf5de888710a79ffff31370f48d511f18c Full diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/170.diff Discussion: https://forge.sourceware.org/gcc/gcc-TEST/pulls/170 Requested Reviewers: This is re-spin of this patch: https://inbox.sourceware.org/gcc-patches/[email protected]/ Some files were fixed since then. So I re-did the patches and re-generated all the files again. Instead of trying to rebase the branch or apply the patch on top off current trunk. Autoreconf -Wall complains about obsolete macros, so replace them according to the autoconf documentation[0]. This patch doesn't fully fix all warnings because I focused on doing simple fixes and keeping the changes to the generated files to a minimum. Bootstrapped and retested on x86_64-linux-gnu. [0]: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html PR bootstrap/103459 ChangeLog: * configure: Regenerate. * configure.ac: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. Replace AC_TRY_LINK with AC_LINK_IFELSE. c++tools/ChangeLog: * configure: Regenerate. * configure.ac: Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET. config/ChangeLog: * acx.m4: Remove uses of AC_CHECK_TOOL_PREFIX. Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. * asmcfi.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. * bitfields.m4: Likewise. * cet.m4: Replace AC_TRY_LINK with AC_LINK_IFELSE. Replace AC_TRY_RUN with AC_RUN_IFELSE. * codeset.m4: Replace AC_TRY_LINK with AC_LINK_IFELSE. * enable.m4: Replace AC_HELP_STRING with AS_HELP_STRING. * gcc-plugin.m4: Replace AC_TRY_LINK with AC_LINK_IFELSE. * hwcaps.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. Replace AC_TRY_LINK with AC_LINK_IFELSE. * isl.m4: Replace AC_TRY_LINK with AC_LINK_IFELSE. * lcmessage.m4: Replace AC_TRY_LINK with AC_LINK_IFELSE. * no-executables.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. Replace AC_TRY_LINK with AC_LINK_IFELSE. * po.m4: Replace AC_OUTPUT_COMMANDS with AC_CONFIG_COMMANDS. * tls.m4: Add explicit 4th argument to AC_RUN_IFELSE. fixincludes/ChangeLog: * configure: Regenerate. * configure.ac: Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET. gcc/ChangeLog: * acinclude.m4: Replace AC_FOREACH with m4_foreach_w. Replace AC_TRY_LINK with AC_LINK_IFELSE. * configure: Regenerate. * configure.ac: Replace AC_HELP_STRING with AS_HELP_STRING. Replace AC_PROG_LIBTOOL with LT_INIT. gnattools/ChangeLog: * configure: Regenerate. * configure.ac: Replace AC_HELP_STRING with AS_HELP_STRING. gotools/ChangeLog: * configure: Regenerate. * configure.ac: Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET. libada/ChangeLog: * configure.ac: Replace AC_HELP_STRING with AS_HELP_STRING. libatomic/ChangeLog: * acinclude.m4: Replace AC_ERROR with AS_MSG_ERROR. Replace AC_TRY_LINK with AC_LINK_IFELSE. Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. Replace AC_HELP_STRING with AS_HELP_STRING. Replace AC_TRY_RUN with AC_RUN_IFELSE. * configure.ac: Replace AM_PROG_LIBTOOL with LT_INIT. Replace AC_STDC_HEADERS with AC_HEADER_STDC. libbacktrace/ChangeLog: * configure: Regenerate. * configure.ac: Remove redundant AM_PROG_LIBTOOL. libcc1/ChangeLog: * configure: Regenerate. * configure.ac: Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET. Remove redundant AM_PROG_LIBTOOL. libcpp/ChangeLog: * configure: Regenerate. * configure.ac: Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET. Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. libgcc/ChangeLog: * configure: Regenerate. * configure.ac: Replace AC_HELP_STRING with AS_HELP_STRING. Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. libgcobol/ChangeLog: * configure: Regenerate. * configure.ac: Remove redundant AM_PROG_LIBTOOL. libgfortran/ChangeLog: * acinclude.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. * configure.ac: Replace AC_LANG_C with AC_LANG([C]). Replace AM_PROG_LIBTOOL with LT_INIT. libgm2/ChangeLog: * acinclude.m4: Replace AC_HELP_STRING with AS_HELP_STRING. Replace AC_LANG_SAVE AC_LANG_CPLUSPLUS (...) AC_LANG_RESTORE with AC_LANG_PUSH([C++]) (...) AC_LANG_POP([C++]). Replace AC_TRY_LINK with AC_LINK_IFELSE. Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. * configure: Regenerate. * configure.ac: Replace AC_HELP_STRING AS_HELP_STRING. Remove redundant AM_PROG_LIBTOOL. Replace AC_LANG_C with AC_LANG([C]). Replace AC_FOREACH with m4_foreach_w. libgomp/ChangeLog: * acinclude.m4: Replace AC_TRY_LINK with AC_LINK_IFELSE. Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. Replace AC_HELP_STRING with AS_HELP_STRING. Replace AC_TRY_RUN with AC_RUN_IFELSE. * configure: Regenerate. * configure.ac: Replace AM_PROG_LIBTOOL with LT_INIT. Replace AC_STDC_HEADERS with AC_HEADER_STDC. Replace _AC_COMPUTE_INT with AC_COMPUTE_INT. libgrust/ChangeLog: * configure.ac: Replace AC_FOREACH with m4_foreach_w. libiberty/ChangeLog: * acinclude.m4: Replace AC_TRY_RUN with AC_RUN_IFELSE. Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. * configure.ac: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. Replace AC_ISC_POSIX with AC_SEARCH_LIBS([strerror],[cposix]). libitm/ChangeLog: * acinclude.m4: Replace AC_TRY_LINK with AC_LINK_IFELSE. Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. Replace AC_HELP_STRING with AS_HELP_STRING. Replace AC_TRY_RUN with AC_RUN_IFELSE. * configure.ac: Replace AM_PROG_LIBTOOL with LT_INIT. Replace AC_STDC_HEADERS with AC_HEADER_STDC. libobjc/ChangeLog: * configure: Regenerate. * configure.ac: Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET. Replace AM_PROG_LIBTOOL with LT_INIT. Remove unnecessary escape in double quoted string. libphobos/ChangeLog: * configure: Regenerate. * configure.ac: Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET. Remove redundant AM_PROG_LIBTOOL. Replace AC_FOREACH with m4_foreach_w. * m4/druntime.m4: Replace AC_HELP_STRING AS_HELP_STRING. Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. * m4/druntime/cpu.m4: Replace AC_TRY_LINK with AC_LINK_IFELSE. * m4/druntime/os.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. libquadmath/ChangeLog: * configure.ac: Replace AM_PROG_LIBTOOL with LT_INIT. Replace AC_LANG_C with AC_LANG([C]). Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. Replace AC_TRY_LINK with AC_LINK_IFELSE. libsanitizer/ChangeLog: * configure.ac: Replace AM_PROG_LIBTOOL with LT_INIT. Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. Replace AC_FOREACH with m4_foreach_w. libssp/ChangeLog: * configure.ac: Replace AC_LANG_C with AC_LANG([C]). Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE. Replace AC_TRY_LINK with AC_LINK_IFELSE. Replace AM_PROG_LIBTOOL with LT_INIT. libvtv/ChangeLog: * configure.ac: Replace AC_GNU_SOURCE with AC_USE_SYSTEM_EXTENSIONS. Replace AM_PROG_LIBTOOL with LT_INIT. Replace AC_FOREACH with m4_foreach_w. lto-plugin/ChangeLog: * configure: Regenerate. * configure.ac: Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET. Replace AC_TRY_LINK with AC_LINK_IFELSE. Replace AM_PROG_LIBTOOL with LT_INIT. Changed files: - M: c++tools/configure - M: c++tools/configure.ac - M: config/acx.m4 - M: config/asmcfi.m4 - M: config/bitfields.m4 - M: config/cet.m4 - M: config/codeset.m4 - M: config/enable.m4 - M: config/gcc-plugin.m4 - M: config/hwcaps.m4 - M: config/isl.m4 - M: config/lcmessage.m4 - M: config/no-executables.m4 - M: config/po.m4 - M: config/tls.m4 - M: configure - M: configure.ac - M: fixincludes/configure - M: fixincludes/configure.ac - M: gcc/acinclude.m4 - M: gcc/configure - M: gcc/configure.ac - M: gnattools/configure - M: gnattools/configure.ac - M: gotools/configure - M: gotools/configure.ac - M: libada/configure.ac - M: libatomic/acinclude.m4 - M: libatomic/configure.ac - M: libbacktrace/configure - M: libbacktrace/configure.ac - M: libcc1/configure - M: libcc1/configure.ac - M: libcpp/configure - M: libcpp/configure.ac - M: libgcc/configure - M: libgcc/configure.ac - M: libgcobol/configure - M: libgcobol/configure.ac - M: libgfortran/acinclude.m4 - M: libgfortran/configure.ac - M: libgm2/acinclude.m4 - M: libgm2/configure - M: libgm2/configure.ac - M: libgomp/acinclude.m4 - M: libgomp/configure - M: libgomp/configure.ac - M: libgrust/configure.ac - M: libiberty/acinclude.m4 - M: libiberty/configure.ac - M: libitm/acinclude.m4 - M: libitm/configure.ac - M: libobjc/configure - M: libobjc/configure.ac - M: libphobos/configure - M: libphobos/configure.ac - M: libphobos/m4/druntime.m4 - M: libphobos/m4/druntime/cpu.m4 - M: libphobos/m4/druntime/os.m4 - M: libquadmath/configure.ac - M: libsanitizer/configure.ac - M: libssp/configure.ac - M: libvtv/configure.ac - M: lto-plugin/configure - M: lto-plugin/configure.ac Pietro Monteiro (1): configury: replace autoconf obsolete macros [PR103459] c++tools/configure | 1 - c++tools/configure.ac | 2 +- config/acx.m4 | 14 +++--- config/asmcfi.m4 | 7 +-- config/bitfields.m4 | 10 ++-- config/cet.m4 | 18 +++---- config/codeset.m4 | 8 ++-- config/enable.m4 | 2 +- config/gcc-plugin.m4 | 4 +- config/hwcaps.m4 | 6 ++- config/isl.m4 | 4 +- config/lcmessage.m4 | 3 +- config/no-executables.m4 | 6 +-- config/po.m4 | 8 ++-- config/tls.m4 | 6 ++- configure | 4 -- configure.ac | 30 ++++++------ fixincludes/configure | 1 - fixincludes/configure.ac | 2 +- gcc/acinclude.m4 | 9 ++-- gcc/configure | 13 ++---- gcc/configure.ac | 10 ++-- gnattools/configure | 2 - gnattools/configure.ac | 2 +- gotools/configure | 1 - gotools/configure.ac | 2 +- libada/configure.ac | 4 +- libatomic/acinclude.m4 | 33 +++++++------ libatomic/configure.ac | 4 +- libbacktrace/configure | 1 - libbacktrace/configure.ac | 1 - libcc1/configure | 6 +-- libcc1/configure.ac | 3 +- libcpp/configure | 7 ++- libcpp/configure.ac | 12 ++--- libgcc/configure | 3 +- libgcc/configure.ac | 14 +++--- libgcobol/configure | 1 - libgcobol/configure.ac | 1 - libgfortran/acinclude.m4 | 12 ++--- libgfortran/configure.ac | 4 +- libgm2/acinclude.m4 | 78 +++++++++++++++---------------- libgm2/configure | 7 +-- libgm2/configure.ac | 7 ++- libgomp/acinclude.m4 | 44 ++++++++++------- libgomp/configure | 11 ----- libgomp/configure.ac | 28 +++++------ libgrust/configure.ac | 2 +- libiberty/acinclude.m4 | 35 +++++++------- libiberty/configure.ac | 32 ++++++------- libitm/acinclude.m4 | 91 +++++++++++++++++++++++------------- libitm/configure.ac | 4 +- libobjc/configure | 5 +- libobjc/configure.ac | 8 ++-- libphobos/configure | 6 +-- libphobos/configure.ac | 5 +- libphobos/m4/druntime.m4 | 8 ++-- libphobos/m4/druntime/cpu.m4 | 24 +++++----- libphobos/m4/druntime/os.m4 | 10 ++-- libquadmath/configure.ac | 42 ++++++++++------- libsanitizer/configure.ac | 14 +++--- libssp/configure.ac | 22 +++++---- libvtv/configure.ac | 8 ++-- lto-plugin/configure | 5 +- lto-plugin/configure.ac | 14 ++++-- 65 files changed, 408 insertions(+), 383 deletions(-) -- 2.54.0
