Change 12518 by jhi@alpha on 2001/10/20 00:13:47
Subject: [PATCH] PERL_MM_USE_DEFAULT
From: Gisle Aas <[EMAIL PROTECTED]>
Date: 19 Oct 2001 16:46:02 -0700
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/lib/ExtUtils/MakeMaker.pm#73 edit
Differences ...
==== //depot/perl/lib/ExtUtils/MakeMaker.pm#73 (text) ====
Index: perl/lib/ExtUtils/MakeMaker.pm
--- perl/lib/ExtUtils/MakeMaker.pm.~1~ Fri Oct 19 18:30:06 2001
+++ perl/lib/ExtUtils/MakeMaker.pm Fri Oct 19 18:30:06 2001
@@ -139,7 +139,7 @@
my $ans;
local $|=1;
print "$mess $dispdef";
- if ($ISA_TTY) {
+ if ($ISA_TTY && !$ENV{PERL_MM_USE_DEFAULT}) {
chomp($ans = <STDIN>);
} else {
print "$def\n";
@@ -2147,6 +2147,11 @@
C<WriteMakefile()>. The string is split on whitespace, and the result
is processed before any actual command line arguments are processed.
+=item PERL_MM_USE_DEFAULT
+
+If set to a true value then MakeMaker's prompt function will
+always return the default without waiting for user input.
+
=back
=head1 SEE ALSO
End of Patch.