On Mon, Feb 25, 2008 at 2:25 PM, Eric Wilhelm <[EMAIL PROTECTED]> wrote: > >> May not be MakeMaker, but would ExtUtils::CBuilder::have_compiler() > >> work? > > > >It should, but it's not always installed. > > Just 'configure_requires' it?
Assuming that a recent CPAN.pm is installed that knows what to do with configure_requires. Is it me or does this list have some variation of this discussion every couple weeks? :-) I think configure_requires is a great idea, as long as one also puts "use 5.010;" at the top of the Build.PL and Makefile.PL. However, assuming that one doesn't want to impose that limitation, Devel::Checklib is the better choice, given that it was pretty much expressly designed to make it easy to establish a complier or library dependency in a backwards-compatible way. David
