Description: Do not configure or build the bundled zlib copy. id3lib bundles an ancient zlib under zlib/. On Debian the library is always linked against the system zlib (Build-Depends: zlib1g-dev, 00-add-libz-to-compilation.patch), so ID3_NEEDZLIB is false and the bundled copy is never built. However, configure.in called AC_CONFIG_SUBDIRS(zlib) unconditionally, so the top-level configure always recursed into the bundled zlib/configure, which fails to configure with current toolchains. Drop the unused bundled zlib from the build system entirely; the system zlib link path (ID3_NEEDZLIB else -lz) is unaffected. Author: Martin A. Godisch Forwarded: no Last-Update: 2026-06-16 --- a/configure.in +++ b/configure.in @@ -296,12 +296,6 @@ AC_DEFINE_UNQUOTED(_ID3LIB_BINARY_AGE, $ID3LIB_BINARY_AGE) AC_DEFINE_UNQUOTED(_ID3_COMPILED_WITH_DEBUGGING, "${enable_debug}") -CONDITIONAL_SUBDIRS= -if test "x$ac_cv_lib_z_uncompress" = "xno"; then - CONDITIONAL_SUBDIRS="$CONDITIONAL_SUBDIRS zlib" -fi -AC_CONFIG_SUBDIRS(zlib) - CFLAGS="$CFLAGS -Wall" AC_OUTPUT( \ --- a/Makefile.am +++ b/Makefile.am @@ -21,14 +21,8 @@ reconf \ makefile.win32 \ makewin32.bat -if ID3_NEEDZLIB -zlib_subdir = zlib -else -zlib_subdir = -endif - -SUBDIRS = . m4 $(zlib_subdir) doc include id3com src examples -DIST_SUBDIRS = . m4 zlib doc include id3com src examples prj libprj +SUBDIRS = . m4 doc include id3com src examples +DIST_SUBDIRS = . m4 doc include id3com src examples prj libprj INCLUDES = @ID3LIB_DEBUG_FLAGS@