# This -*- perl -*- script makes the Makefile # Based on the Makefile.PL in the libwww-perl distribution # $Id: Makefile.PL 214 2005-12-18 19:16:21Z graaff $ require 5.005; use strict; use ExtUtils::MakeMaker; my $missing_modules = 0; print "\nChecking for LWP..........."; eval { require LWP; LWP->VERSION(5.76); }; if ($@) { print " failed\n"; $missing_modules++; print <VERSION(1.10); }; if ($@) { print " failed\n"; $missing_modules++; print <VERSION(3.33); }; if ($@) { print " failed\n"; $missing_modules++; print <VERSION('2.00'); }; if ($@) { print " failed\n"; $missing_modules++; print <VERSION('2.58'); }; if ($@) { print " failed\n"; $missing_modules++; print < to find a CPAN site near you. EOT print "\n"; # Write the Makefile WriteMakefile( NAME => "checkbot", EXE_FILES => [ 'checkbot' ], MAN3PODS => {}, PM => {}, VERSION_FROM => q(checkbot), dist => {COMPRESS => 'gzip', SUFFIX => 'gz' }, );