You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
k3b/plugins/decoder/mp3/configure.in.in

25 lines
583 B

dnl === libmad MPEG decoder check - begin ===
AC_ARG_WITH(
libmad,
AS_HELP_STRING([--without-libmad], [build K3b without libmad support (default=no)]),
[ac_cv_use_libmad=$withval],
[ac_cv_use_libmad=yes]
)
if test "$ac_cv_use_libmad" = "yes"; then
MAD_LIB=""
KDE_CHECK_HEADER(mad.h, [
AC_CHECK_LIB(mad, mad_synth_frame, [
MAD_LIB="-lmad"
AC_DEFINE(HAVE_LIBMAD,1,[defined if you have libmad headers and libraries])],
[],
$all_libraries
)
])
AC_SUBST(MAD_LIB)
fi
AM_CONDITIONAL(include_MP3, [test -n "$MAD_LIB"])
dnl === libmad MPeg decoder check - end ===