The zlib useflag on libmng is misplaced, the --with-zlib[=DIR] argument is used only to give a non-default location for zlib, but does not mean that zlib can disabled at all, as it can be seen by the configure.in: dnl libz is required. AC_ARG_WITH(zlib, [ --with-zlib[=DIR] use zlib include/library files in DIR],[ if test -d "$withval"; then CPPFLAGS="$CPPFLAGS -I$withval/include" LDFLAGS="$LDFLAGS -L$withval/lib" fi ]) AC_CHECK_HEADER(zlib.h, AC_CHECK_LIB(z, gzread, , AC_MSG_ERROR(zlib library not found)), AC_MSG_ERROR(zlib header not found) ) It shouldn't create issues as it's unlikely that zlib is not present in the system but the dependencies will be misrepresented, and users will be prompted with a choice that's not available. HTH, Diego
Committed with reb's permission.