Re: avoiding AC_DEFINE in AC_RUN_IFELSE for Perl C code

Paul Eggert <[email protected]> Fri, 10 Jan 2025 15:07:15 -0800
Newsgroups gmane.comp.sysutils.autoconf.general
Organization UCLA Computer Science Department
Message-ID <[email protected]>
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.