Skip to content

configure autoconf 2.72 : AC_TRY_COMPILE and AC_COMPILE_IFELSE #723

@dcstes

Description

@dcstes

autoconf 2.72 claims that AC_TRY_COMPILE is obsolete.
it may be possible to replace this macro by AC_COMPILE_IFELSE in some cases, or by other macros (AC_CHECK_HEADERS or so)

https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/autoconf.html#index-AC_005fTRY_005fCOMPILE

In section: 18.4 Obsolete Macros
Several macros are obsoleted in Autoconf, for various reasons (typically they failed to quote properly, couldn’t be extended for more recent issues, etc.). They are still supported, but deprecated: their use should be avoided.

apparently AC_TRY_COMPILE is still accepted and it seems autoconf 2.72 only prints a warning

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions