summaryrefslogtreecommitdiff
path: root/lib/Debian/Debhelper/Buildsystem/autoconf.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Debian/Debhelper/Buildsystem/autoconf.pm')
-rw-r--r--lib/Debian/Debhelper/Buildsystem/autoconf.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Debian/Debhelper/Buildsystem/autoconf.pm b/lib/Debian/Debhelper/Buildsystem/autoconf.pm
index 142c27ea..70d3511e 100644
--- a/lib/Debian/Debhelper/Buildsystem/autoconf.pm
+++ b/lib/Debian/Debhelper/Buildsystem/autoconf.pm
@@ -8,7 +8,7 @@ package Debian::Debhelper::Buildsystem::autoconf;
use strict;
use warnings;
-use Debian::Debhelper::Dh_Lib qw(dpkg_architecture_value sourcepackage compat);
+use Debian::Debhelper::Dh_Lib qw(%dh dpkg_architecture_value sourcepackage compat);
use parent qw(Debian::Debhelper::Buildsystem::makefile);
sub DESCRIPTION {
@@ -38,7 +38,7 @@ sub configure {
push @opts, "--infodir=\${prefix}/share/info";
push @opts, "--sysconfdir=/etc";
push @opts, "--localstatedir=/var";
- if (defined $ENV{DH_QUIET} && $ENV{DH_QUIET} ne "") {
+ if ($dh{QUIET}) {
push @opts, "--enable-silent-rules";
} else {
push @opts, "--disable-silent-rules";