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 26 27 28 29 30
|
dnl vorbis
AC_ARG_WITH(vorbis, AS_HELP_STRING([--without-vorbis],
[Compile without Ogg Vorbis support]))
if test "x$with_vorbis" == "xtremor"
then
PKG_CHECK_MODULES(OGG_VORBIS,
[vorbisidec >= 1.0],
[AC_SUBST(OGG_VORBIS_LIBS)
AC_SUBST(OGG_VORBIS_CFLAGS)
AC_DEFINE([HAVE_TREMOR], 1, [Define if you integer Vorbis.])
want_vorbis="yes"
DECODER_PLUGINS="$DECODER_PLUGINS vorbis(tremor)"],
[true])
else
if test "x$with_vorbis" != "xno"
then
PKG_CHECK_MODULES(OGG_VORBIS,
[ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0],
[AC_SUBST(OGG_VORBIS_LIBS)
AC_SUBST(OGG_VORBIS_CFLAGS)
want_vorbis="yes"
DECODER_PLUGINS="$DECODER_PLUGINS vorbis"],
[true])
fi
fi
AM_CONDITIONAL([BUILD_vorbis], [test "$want_vorbis"])
AC_CONFIG_FILES([decoder_plugins/vorbis/Makefile])
|