Re: avoiding AC_DEFINE in AC_RUN_IFELSE for Perl C code

Paul Eggert <[email protected]> Sat, 11 Jan 2025 10:28:46 -0800
Newsgroups gmane.comp.sysutils.autoconf.general
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 2025-01-11 06:19, Patrice Dumas wrote:
>> OK, how about just writing your own code, instead of using AC_RUN_IFELSE?
> Because it is better not to reinvent good code?
> 
> I reused the configure code generated by AC_LINK_IFELSE:

Thanks, that's the sort of thing I had in mind (though I expressed it 
poorly).

It would be nice if Autoconf had a facility to do this without relying 
on undocumented features, agreed.