diff options
author | Viliam Mateicka <viliam.mateicka@gmail.com> | 2008-12-16 21:45:59 +0100 |
---|---|---|
committer | Viliam Mateicka <viliam.mateicka@gmail.com> | 2008-12-16 21:45:59 +0100 |
commit | 98fd9b7da8547efe81d473371bb3ca7620c7b2b2 (patch) | |
tree | bdd2d95aaadf8c75b352630b2c65c495a2f11832 /configure.ac | |
parent | 77946a901f1bf7bf7b2dfb5238b14f9d1941d49c (diff) | |
download | mpd-98fd9b7da8547efe81d473371bb3ca7620c7b2b2.tar.gz mpd-98fd9b7da8547efe81d473371bb3ca7620c7b2b2.tar.xz mpd-98fd9b7da8547efe81d473371bb3ca7620c7b2b2.zip |
archiveapi: archive plugin for BZ2 files
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 95dac9bd9..15173f186 100644 --- a/configure.ac +++ b/configure.ac @@ -171,6 +171,25 @@ AC_ARG_ENABLE(mvp, dnl +dnl archive plugins +dnl + +AC_ARG_ENABLE(bz2, + AS_HELP_STRING([--enable-bz2], + [enable rar archive support (default: disabled)]), + enable_bz2=$enableval, + enable_bz2=no) + +AM_CONDITIONAL(HAVE_BZ2, test x$enable_bz2 = xyes) + +# archive plugin libraries + +AC_CHECK_LIB(bz2, BZ2_bzDecompressInit,[MPD_LIBS="-lbz2";],enable_bz2=no) +if test x$enable_bz2 = xyes; then + AC_DEFINE(HAVE_BZ2, 1, [Define to have bz2 archive support]) +fi + +dnl dnl decoder plugins dnl @@ -1146,6 +1165,12 @@ else echo " Zeroconf support ..............disabled" fi +if test x$enable_bz2 = xyes; then + echo " BZ2 archives support ..........enabled" +else + echo " BZ2 archives support ..........disabled" +fi + echo "" echo "##########################################" echo "" |