On Mon, Jan 06, 2025 at 06:24:46PM +0100, Patrice Dumas wrote: > Hello, > > The compilation test in configure.ac should therefore also be performed > without the AC_DEFINE results performed previously includes, although > this is the default of AC_LANG_CONFTEST, and of AC_LANG_PROGRAM or > AC_LINK_IFELSE.
Seems like it is not possible to directly use Autoconf: https://lists.gnu.org/archive/html/autoconf/2025-01/msg00008.html So I reused code similar to the code generated by AC_LINK_IFELSE, even though it uses internal Autoconf shell function and variable: https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=6a3773cceec6c0858a176438c1bd6ac54a313e05 I added a note in README-hacking to check that the code is still ok when Autoconf is updated. -- Pat