fs/GzipOutputStream: new class wrapping zlib
This commit is contained in:
15
configure.ac
15
configure.ac
@@ -329,6 +329,11 @@ AC_ARG_ENABLE(audiofile,
|
||||
[enable audiofile support (WAV and others)]),,
|
||||
enable_audiofile=auto)
|
||||
|
||||
AC_ARG_ENABLE(zlib,
|
||||
AS_HELP_STRING([--enable-zlib],
|
||||
[enable zlib support (default: auto)]),,
|
||||
enable_zlib=auto)
|
||||
|
||||
AC_ARG_ENABLE(bzip2,
|
||||
AS_HELP_STRING([--enable-bzip2],
|
||||
[enable bzip2 archive support (default: auto)]),,
|
||||
@@ -1031,6 +1036,16 @@ fi
|
||||
|
||||
AM_CONDITIONAL(ENABLE_ISO9660_TEST, test x$MKISOFS != xno)
|
||||
|
||||
dnl ---------------------------------- zlib ---------------------------------
|
||||
|
||||
MPD_AUTO_PKG(zlib, ZLIB, [zlib],
|
||||
[zlib support], [zlib not found])
|
||||
|
||||
AM_CONDITIONAL(HAVE_ZLIB, test x$enable_zlib = xyes)
|
||||
if test x$enable_zlib = xyes; then
|
||||
AC_DEFINE(HAVE_ZLIB, 1, [Define to enable zlib support])
|
||||
fi
|
||||
|
||||
dnl ---------------------------------- libbz2 ---------------------------------
|
||||
|
||||
MPD_AUTO_LIB(bzip2, BZ2, bz2, BZ2_bzDecompressInit, [-lbz2], [],
|
||||
|
Reference in New Issue
Block a user