summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2004-02-11 20:40:00 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2004-02-11 20:40:00 +0000
commit34560d0ad0726e354eb5679541d9dc7453555114 (patch)
tree6d679388d2fa293ba1796f606281948d12a400dd /configure.ac
parent07193b78bd361cbdc9cca0936aeec7509b3c36c7 (diff)
downloadxine-lib-34560d0ad0726e354eb5679541d9dc7453555114.tar.gz
xine-lib-34560d0ad0726e354eb5679541d9dc7453555114.tar.bz2
Amiga MOD music file demuxer from Paul Eggleton (uses the ModPlug engine).
configure.ac and Makefile.am from Daniel I've ported the demuxer to current cvs (BUF_FLAG_FRAME_END issue), i've fixed the seeking problem and the pts computing. Tested with some .mod files, it rocks ;) Back to the amiga era ;) (you have to install the ModPlug engine first) CVS patchset: 6130 CVS date: 2004/02/11 20:40:00
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 11a3410a6..68c4f3b80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1273,6 +1273,26 @@ AC_ARG_ENABLE(faad, [ --disable-faad Do not build FAAD decoder],
enable_faad=no, enable_faad=yes)
AM_CONDITIONAL(BUILD_FAAD, test x"$enable_faad" = "xyes")
+dnl ---------------------------------------------
+dnl libmodplug support
+dnl ---------------------------------------------
+if test x$PKG_CONFIG = xno ; then
+ echo "*** pkg-config not found. See http://pkgconfig.sourceforge.net"
+ echo "*** All of MODPLUG dependent parts will be disabled"
+else
+ LIBMODPLUG_REQUIRED_VERSION=0.7
+ if $PKG_CONFIG --atleast-version $LIBMODPLUG_REQUIRED_VERSION libmodplug ; then
+ LIBMODPLUG_CFLAGS=`$PKG_CONFIG --cflags libmodplug`
+ LIBMODPLUG_LIBS=`$PKG_CONFIG --libs libmodplug`
+ AC_DEFINE(HAVE_MODPLUG,1,[define this if you have libmodplug installed])
+ have_modplug="yes"
+ else
+ AC_MSG_RESULT([*** All of MODPLUG dependent parts will be disabled ***])
+ fi
+fi
+AC_SUBST(LIBMODPLUG_CFLAGS)
+AC_SUBST(LIBMODPLUG_LIBS)
+AM_CONDITIONAL(HAVE_MODPLUG, [test x"$have_modplug" = x"yes"])
dnl ---------------------------------------------
dnl ip_mreqn