소스 검색

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 년 전
부모
커밋
cfa3c832fe
2개의 변경된 파일과 3개의 추가작업 그리고 1개의 파일을 삭제
  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])