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