From 34560d0ad0726e354eb5679541d9dc7453555114 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Wed, 11 Feb 2004 20:40:00 +0000 Subject: 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 --- configure.ac | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'configure.ac') 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 -- cgit v1.2.3