From 8290ce0f62ee779b3cb7719776c1431140b91644 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 24 Apr 2008 20:37:42 -0400 Subject: dh_auto_configure: Set PERL_MM_USE_DEFAULT when configuring MakeMaker packages to avoid interactive prompts. --- dh_auto_configure | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dh_auto_configure') 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}}); } -- cgit v1.2.3