summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-12-04 18:14:20 +0100
committerGuillem Jover <guillem@debian.org>2016-12-17 01:41:18 +0100
commitcfa3c832fe5a20dbbd2addf45e61f143ac4d745d (patch)
treeb512a425e344298e38f385d56a1259e8f9d9638b
parent685e2f76f6ca91c4ad8aa1e91763e520ac52f8e8 (diff)
downloaddpkg-cfa3c832fe5a20dbbd2addf45e61f143ac4d745d.tar.gz
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.
-rw-r--r--debian/changelog2
-rw-r--r--m4/dpkg-libs.m42
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 69d0ffb41..39fce9c6f 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 fd2b28146..fbb974b29 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])