configure.ac: Move OggVorbis to Decoder Plugins, add header.
This commit is contained in:
parent
e3d62305f1
commit
8b0fb1cc4d
16
configure.ac
16
configure.ac
@ -1143,14 +1143,8 @@ if test x$use_tremor = xyes; then
|
|||||||
if test x$enable_vorbis = xyes; then
|
if test x$enable_vorbis = xyes; then
|
||||||
AC_DEFINE(ENABLE_VORBIS_DECODER, 1, [Define for Ogg Vorbis support])
|
AC_DEFINE(ENABLE_VORBIS_DECODER, 1, [Define for Ogg Vorbis support])
|
||||||
fi
|
fi
|
||||||
elif test x$enable_vorbis = xyes; then
|
|
||||||
PKG_CHECK_MODULES(VORBIS, [ogg vorbis vorbisfile],
|
|
||||||
AC_DEFINE(ENABLE_VORBIS_DECODER, 1, [Define for Ogg Vorbis support]),
|
|
||||||
enable_vorbis=no)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL(ENABLE_VORBIS_DECODER, test x$enable_vorbis = xyes)
|
|
||||||
|
|
||||||
if test x$use_tremor = xyes; then
|
if test x$use_tremor = xyes; then
|
||||||
AC_DEFINE(HAVE_TREMOR,1,
|
AC_DEFINE(HAVE_TREMOR,1,
|
||||||
[Define to use tremor (libvorbisidec) for ogg support])
|
[Define to use tremor (libvorbisidec) for ogg support])
|
||||||
@ -1181,6 +1175,16 @@ AM_CONDITIONAL(HAVE_OGGFLAC, test x$enable_oggflac = xyes)
|
|||||||
|
|
||||||
AM_CONDITIONAL(HAVE_FLAC_COMMON,
|
AM_CONDITIONAL(HAVE_FLAC_COMMON,
|
||||||
test x$enable_flac = xyes || test x$enable_oggflac = xyes)
|
test x$enable_flac = xyes || test x$enable_oggflac = xyes)
|
||||||
|
|
||||||
|
dnl -------------------------------- Ogg Vorbis -------------------------------
|
||||||
|
if test x$enable_tremor != xyes -a test x$enable_vorbis = xyes; then
|
||||||
|
PKG_CHECK_MODULES(VORBIS, [ogg vorbis vorbisfile],
|
||||||
|
AC_DEFINE(ENABLE_VORBIS_DECODER, 1, [Define for Ogg Vorbis support]),
|
||||||
|
enable_vorbis=no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AM_CONDITIONAL(ENABLE_VORBIS_DECODER, test x$enable_vorbis = xyes)
|
||||||
|
|
||||||
AM_CONDITIONAL(HAVE_OGG_COMMON,
|
AM_CONDITIONAL(HAVE_OGG_COMMON,
|
||||||
test x$enable_vorbis = xyes || test x$enable_oggflac = xyes || test x$enable_flac = xyes)
|
test x$enable_vorbis = xyes || test x$enable_oggflac = xyes || test x$enable_flac = xyes)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user