aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2008-12-16 21:48:26 +0100
committerViliam Mateicka <viliam.mateicka@gmail.com>2008-12-16 21:48:26 +0100
commit37796699cf751eb3ea8625d6c93e38abb46a6c87 (patch)
tree9660f752bc72509abc180f839808ee2dba75ba83 /configure.ac
parentddcf0a407876ef886ca8634daa223c6f27c236dc (diff)
downloadmpd-37796699cf751eb3ea8625d6c93e38abb46a6c87.tar.gz
mpd-37796699cf751eb3ea8625d6c93e38abb46a6c87.tar.xz
mpd-37796699cf751eb3ea8625d6c93e38abb46a6c87.zip
archiveapi: archive plugin for ISO files
Diffstat (limited to '')
-rw-r--r--configure.ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5c4ee04e8..9edf357fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,6 +190,14 @@ AC_ARG_ENABLE(zip,
AM_CONDITIONAL(HAVE_ZIP, test x$enable_zip = xyes)
+AC_ARG_ENABLE(iso9660,
+ AS_HELP_STRING([--enable-iso9660],
+ [enable iso9660 archive support (default: disabled)]),
+ enable_iso=$enableval,
+ enable_iso=no)
+
+AM_CONDITIONAL(HAVE_ISO, test x$enable_iso = xyes)
+
# archive plugin libraries
AC_CHECK_LIB(bz2, BZ2_bzDecompressInit,[MPD_LIBS="-lbz2";],enable_bz2=no)
@@ -202,6 +210,12 @@ if test x$enable_zip = xyes; then
AC_DEFINE(HAVE_ZIP, 1, [Define to have zip archive support])
fi
+AC_CHECK_LIB(iso9660, iso9660_ifs_readdir ,,enable_iso=no)
+if test x$enable_iso = xyes; then
+ MPD_LIBS="$MPD_LIBS -liso9660"
+ AC_DEFINE(HAVE_ISO, 1, [Define to have iso archive support])
+fi
+
dnl
dnl decoder plugins
dnl
@@ -1190,6 +1204,12 @@ else
echo " ZIP archives support ..........disabled"
fi
+if test x$enable_iso = xyes; then
+ echo " ISO 9660 archives support .....enabled"
+else
+ echo " ISO 9660 archives support .....disabled"
+fi
+
echo ""
echo "##########################################"
echo ""