Skip to content

Commit

Permalink
no need for extra prereq checks
Browse files Browse the repository at this point in the history
  • Loading branch information
eserte committed Apr 17, 2017
1 parent 7975189 commit e9390f3
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,37 +1,6 @@
use 5.005;
use ExtUtils::MakeMaker;

print STDERR "Checking for Tk...";
eval {
require Tk;
};
if ($@) {
print STDERR " failed\n", <<EOF;
$@
The GUI part of Tk::Getopt will not work without Tk. Please install
the Tk distribution (e.g. Tk402.202).
EOF
sleep 2;
} else {
print STDERR " ok\n";
}

print STDERR "Checking for Data::Dumper...";
eval {
require Data::Dumper;
};
if ($@) {
print STDERR " failed\n", <<EOF;
$@
Data::Dumper is used to store options permanently to a file.
EOF
sleep 2;
} else {
print STDERR " ok\n";
}

my $eumm_recent_enough = $ExtUtils::MakeMaker::VERSION >= 6.54;

if (!$eumm_recent_enough) {
Expand Down

0 comments on commit e9390f3

Please sign in to comment.