Displaying 4 results from an estimated 4 matches for "mad_decoder_finish".
2007 Mar 19
0
2 commits - configure.ac
...33, Mikel Olasagasti)
diff --git a/configure.ac b/configure.ac
index 7f41b65..6ea8b8d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,10 +135,22 @@ if test "$HAVE_CAIRO" = "no"; then
AC_MSG_ERROR([cannot find cairo, which is required for build])
fi
-AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad", HAVE_MAD="no")
-AC_SUBST(MAD_LIBS)
-if test "x$HAVE_MAD" = xyes; then
- AC_DEFINE(HAVE_MAD, 1, [Define if mad is enabled])
+AC_ARG_ENABLE(mad,
+ AS_HELP_STRING([--enable-mad],
+ [enable mad audio (default=yes)])],
+ enable...
2007 Oct 25
0
[PATCH] Fix logic in mad detection
...NABLE(mad,
AS_HELP_STRING([--enable-mad],
[enable mad audio (default=yes)])],
- enable_mad=$enableval,
- enable_mad="yes")
+ enable_mad=$enableval)
-if test "$enable_mad" = "yes"; then
+if test "$enable_mad" != "no"; then
AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad", HAVE_MAD="no")
AC_SUBST(MAD_LIBS)
if test "x$HAVE_MAD" = xyes; then
AC_DEFINE(HAVE_MAD, 1, [Define if mad is enabled])
else
- AC_MSG_ERROR([Couldn't find mad. You might need to install the libmad0-dev package....
2007 Nov 28
0
7 commits - configure.ac libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c test/trace
...config before trying it with AC_CHECK_LIB
diff --git a/configure.ac b/configure.ac
index 924aa4d..bb86e8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -206,7 +206,12 @@ AC_ARG_ENABLE(mad,
enable_mad="no")
if test "$enable_mad" = "yes"; then
- AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad", HAVE_MAD="no")
+ PKG_CHECK_EXISTS([mad],[
+ MAD_VER=0.15.0
+ PKG_CHECK_MODULES(MAD, mad >= $MAD_VER mad >= $MAD_VER, HAVE_MAD=yes, HAVE_MAD=no)
+ ], [
+ AC_CHECK_LIB(mad, mad_decoder_f...
2007 Oct 28
0
9 commits - configure.ac libswfdec/swfdec_as_context.c libswfdec/swfdec_audio_internal.h libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_sound.c
...fi
AC_ARG_ENABLE(mad,
AS_HELP_STRING([--enable-mad],
- [enable mad audio (default=yes)])],
+ [enable mad audio (default=no)])],
enable_mad=$enableval,
- enable_mad="yes")
+ enable_mad="no")
if test "$enable_mad" = "yes"; then
AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad", HAVE_MAD="no")
@@ -211,9 +211,9 @@ dnl So you'll have to update your ffmpeg checkout if compilation fails.
dnl Or you submit a patch that detects ffmpeg reliably on the distros.
AC_ARG_ENABLE(ffmpeg,
AS_HELP_STRING([--enable-...