]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_auto_configure
Merge branch 'master' of ssh://git.debian.org/git/debhelper/debhelper
[debhelper.git] / dh_auto_configure
index a320df95f87bb3cd699b8b7775910706bbb668e7..5f48056f4d48bb27cbb58e2c67d04418dc2b6ff6 100755 (executable)
@@ -89,10 +89,13 @@ if (-x "configure") {
 }
 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.
+       # always return the default without waiting for user input.
        $ENV{PERL_MM_USE_DEFAULT}=1;
+       # This prevents  Module::Install from interactive behavior.
+       $ENV{PERL_AUTOINSTALL}="--skipdeps";
+
        doit("perl", "Makefile.PL", "INSTALLDIRS=vendor",
-               "create_packlist=0", "--skipdeps", @{$dh{U_PARAMS}});
+               "create_packlist=0", @{$dh{U_PARAMS}});
 }
 elsif (-e "Build.PL") {
        $ENV{PERL_MM_USE_DEFAULT}=1; # Module::Build can also use this.