[dpkg] 53/200: build: Enable compression libs also in automatic check mode

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:17:15 UTC 2017


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

infinity0 pushed a commit to branch master
in repository dpkg.

commit cfa3c832fe5a20dbbd2addf45e61f143ac4d745d
Author: Guillem Jover <guillem at debian.org>
Date:   Sun Dec 4 18:14:20 2016 +0100

    build: Enable compression libs also in automatic check mode
    
    The code setting the compression macros when found was only acting when
    explicitly enabling the compression libraries.
---
 debian/changelog | 2 ++
 m4/dpkg-libs.m4  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 69d0ffb..39fce9c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ dpkg (1.18.16) UNRELEASED; urgency=medium
     - Update dpkg-parsechangelog parser options. The options specific to
       the changelog parser program did not get updated when the parser got
       switched to be a perl module. Missed in dpkg 1.18.8.
+  * Build system:
+    - Enable compression libs also in automatic check mode in configure.
 
   [ Updated scripts translations ]
   * German (Helge Kreutzmann).
diff --git a/m4/dpkg-libs.m4 b/m4/dpkg-libs.m4
index fd2b281..fbb974b 100644
--- a/m4/dpkg-libs.m4
+++ b/m4/dpkg-libs.m4
@@ -43,7 +43,7 @@ AC_DEFUN([DPKG_WITH_COMPRESS_LIB], [
       ])
     ])
 
-    AS_IF([test "x$with_lib$1" = "xyes"], [
+    AS_IF([test "x$with_lib$1" != "xno"], [
       AS_IF([test "x$have_lib$1" = "xyes"], [
         AC_DEFINE([WITH_LIB]AS_TR_CPP($1), 1,
           [Define to 1 to use $1 library rather than console tool])

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



More information about the Reproducible-commits mailing list