]>
Commit | Line | Data |
---|---|---|
1 | diff -urN perl-5.6.1.orig/lib/ExtUtils/MakeMaker.pm perl-5.6.1/lib/ExtUtils/MakeMaker.pm | |
2 | --- perl-5.6.1.orig/lib/ExtUtils/MakeMaker.pm Fri Feb 23 03:57:55 2001 | |
3 | +++ perl-5.6.1/lib/ExtUtils/MakeMaker.pm Thu Apr 12 20:43:14 2001 | |
4 | @@ -202,6 +202,7 @@ | |
5 | PERL_ARCHLIB PERL_LIB PERL_SRC PERM_RW PERM_RWX | |
6 | PL_FILES PM PM_FILTER PMLIBDIRS POLLUTE PPM_INSTALL_EXEC | |
7 | PPM_INSTALL_SCRIPT PREFIX | |
8 | + PRINT_PREREQ | |
9 | PREREQ_PM SKIP TYPEMAPS VERSION VERSION_FROM XS XSOPT XSPROTOARG | |
10 | XS_VERSION clean depend dist dynamic_lib linkext macro realclean | |
11 | tool_autosplit | |
12 | @@ -319,6 +320,14 @@ | |
13 | sub ExtUtils::MakeMaker::new { | |
14 | my($class,$self) = @_; | |
15 | my($key); | |
16 | + | |
17 | + if ("@ARGV" =~ "PRINT_PREREQ") { | |
18 | + foreach $prereq (sort keys %{$self->{PREREQ_PM}}) { | |
19 | + print "perl($prereq)>=$self->{PREREQ_PM}->{$prereq} "; | |
20 | + } | |
21 | + print "\n"; | |
22 | + exit 0; | |
23 | + } | |
24 | ||
25 | print STDOUT "MakeMaker (v$VERSION)\n" if $Verbose; | |
26 | if (-f "MANIFEST" && ! -f "Makefile"){ |