summaryrefslogtreecommitdiff
path: root/dh_auto_configure
diff options
context:
space:
mode:
Diffstat (limited to 'dh_auto_configure')
-rwxr-xr-xdh_auto_configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/dh_auto_configure b/dh_auto_configure
index 4b01889b..6e56c953 100755
--- a/dh_auto_configure
+++ b/dh_auto_configure
@@ -85,6 +85,9 @@ if (-x "configure") {
doit("./configure", @opts, @{$dh{U_PARAMS}});
}
elsif (-e "Makefile.PL") {
+ # If set to a true value then MakeMaker's prompt function will
+ # # always return the default without waiting for user input.
+ $ENV{PERL_MM_USE_DEFAULT}=1;
doit("perl", "Makefile.PL", "INSTALLDIRS=vendor", @{$dh{U_PARAMS}});
}