* dh: Optimise the case where the binary-arch or binary-indep sequence is
run and there are no packages of that type.
+ * dh_auto_configure: Set PERL_MM_USE_DEFAULT when configuring MakeMaker
+ packages to avoid interactive prompts.
-- Joey Hess <joeyh@debian.org> Thu, 24 Apr 2008 14:10:56 -0400
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}});
}