On 25 Feb 2008, at 23:59, Michael G Schwern wrote:
Andy Armstrong wrote:
Is there a generally approved way for an XS module to test for the existence of a C compiler before attempting to build?

MakeMaker uses ExtUtils::CBuilder->have_compiler() in it's tests. It's worked well with no complaints. It's an additional testing dependency, but it's a useful one and Module::Build will eventually suck it in anyway.


Noted, thanks. I'm getting good results with Devel::CheckLib right now - which autobundles itself into your distribution - so is hassle free.

--
Andy Armstrong, Hexten




Reply via email to