On 2025-01-10 12:57, Patrice Dumas wrote:
To avoid this, the test should instead 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. I couldn't find a way to do that.
How about if you don't use either AC_LANG_PROGRAM or AC_LANG_SOURCE? Just use exactly the source code that you want.