On Mar 4, 2005, at 4:07 PM, Michael G Schwern wrote:
On Thu, Feb 24, 2005 at 11:47:31AM -0600, Ken Williams wrote:Better would be to snark it from ExtUtils::CBuilder, which has a has_compiler() method.
How portable is this? I see there's some minimal VMS and OS/2 code in there, will it work?
It should work. Though I've never actually *seen* a VMS or OS/2 machine, so I'm not actually sure they exist.
All the cpantesters reports are pretty peachy, but there really aren't many exotic platforms there:
http://testers.cpan.org/show/ExtUtils-CBuilder.html#ExtUtils-CBuilder -0.09
If it doesn't work on all platforms, those are bugs that need to be fixed.
-Ken