https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103459

--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Pietro Monteiro <[email protected]>:

https://gcc.gnu.org/g:db890f7a7d30f4ae5868986b2e609a101daaccc8

commit r17-1945-gdb890f7a7d30f4ae5868986b2e609a101daaccc8
Author: Pietro Monteiro <[email protected]>
Date:   Sun Jun 28 21:09:16 2026 -0400

    configury: replace autoconf obsolete macros [PR103459]

    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.

    [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_LINK_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.

Reply via email to