Przeglądaj źródła

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.
Guillem Jover 9 lat temu
rodzic
commit
cfa3c832fe
2 zmienionych plików z 3 dodań i 1 usunięć
  1. 2 0
      debian/changelog
  2. 1 1
      m4/dpkg-libs.m4

+ 2 - 0
debian/changelog

@@ -12,6 +12,8 @@ dpkg (1.18.16) UNRELEASED; urgency=medium
     - Update dpkg-parsechangelog parser options. The options specific to
     - Update dpkg-parsechangelog parser options. The options specific to
       the changelog parser program did not get updated when the parser got
       the changelog parser program did not get updated when the parser got
       switched to be a perl module. Missed in dpkg 1.18.8.
       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 ]
   [ Updated scripts translations ]
   * German (Helge Kreutzmann).
   * German (Helge Kreutzmann).

+ 1 - 1
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"], [
       AS_IF([test "x$have_lib$1" = "xyes"], [
         AC_DEFINE([WITH_LIB]AS_TR_CPP($1), 1,
         AC_DEFINE([WITH_LIB]AS_TR_CPP($1), 1,
           [Define to 1 to use $1 library rather than console tool])
           [Define to 1 to use $1 library rather than console tool])