1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
dnl opus
AC_ARG_WITH(opus, AS_HELP_STRING([--without-opus],
[Compile without Opus support]))
if test "x$with_opus" != "xno"
then
PKG_CHECK_MODULES(OPUSFILE,
[opusfile >= 0.1],
[AC_SUBST(OPUSFILE_LIBS)
AC_SUBST(OPUSFILE_CFLAGS)
want_opus="yes"
DECODER_PLUGINS="$DECODER_PLUGINS opus"],
[true])
if test "x$want_opus" = "xyes"
then
AC_SEARCH_LIBS(op_read_float, opusfile,
[AC_DEFINE([HAVE_OPUSFILE_FLOAT], 1,
[Define to 1 if you have the `op_read_float' function.])])
fi
fi
AM_CONDITIONAL([BUILD_opus], [test "$want_opus"])
AC_CONFIG_FILES([decoder_plugins/opus/Makefile])
|