[Reproducible-commits] [debhelper] 30/61: configure gets --*-silent-rules depending on DH_QUIET

Mattia Rizzolo mattia at mapreri.org
Sat Apr 4 18:37:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

mapreri-guest pushed a commit to branch pu/reproducible_builds
in repository debhelper.

commit 39a555fff4622c49ff176213dbe203bc9f0424b2
Author: Bernhard R. Link <brlink at debian.org>
Date:   Mon Dec 29 12:41:26 2014 +0100

    configure gets --*-silent-rules depending on DH_QUIET
    
    If DH_QUIET is set, give configure a --enable-silent-rules.
    If it is not set, always give --disable-silent-rules (Closing #551463
    for good).
---
 Debian/Debhelper/Buildsystem/autoconf.pm | 4 +++-
 t/buildsystems/autoconf/configure        | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Debian/Debhelper/Buildsystem/autoconf.pm b/Debian/Debhelper/Buildsystem/autoconf.pm
index 2ca4006..005bcb5 100644
--- a/Debian/Debhelper/Buildsystem/autoconf.pm
+++ b/Debian/Debhelper/Buildsystem/autoconf.pm
@@ -37,7 +37,9 @@ sub configure {
 	push @opts, "--infodir=\${prefix}/share/info";
 	push @opts, "--sysconfdir=/etc";
 	push @opts, "--localstatedir=/var";
-	if (defined $ENV{DH_VERBOSE} && $ENV{DH_VERBOSE} ne "") {
+	if (defined $ENV{DH_QUIET} && $ENV{DH_QUIET} ne "") {
+		push @opts, "--enable-silent-rules";
+	} else {
 		push @opts, "--disable-silent-rules";
 	}
 	my $multiarch=dpkg_architecture_value("DEB_HOST_MULTIARCH");
diff --git a/t/buildsystems/autoconf/configure b/t/buildsystems/autoconf/configure
index adea14e..b606f9e 100755
--- a/t/buildsystems/autoconf/configure
+++ b/t/buildsystems/autoconf/configure
@@ -14,6 +14,7 @@ my @OPTIONS=qw(
    ^--sysconfdir=/etc$
    ^--localstatedir=/var$
    ^--libexecdir=\$\{prefix\}/lib/.*$
+   ^--disable-silent-rules$
    ^--disable-maintainer-mode$
    ^--disable-dependency-tracking$
 );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git



More information about the Reproducible-commits mailing list