configure.ac: Add Post Decoder Plugins Tests header

Add Post Decoder Plugins Tests and move things that shouldn't be in individual
tests to it.
This commit is contained in:
Avuton Olrich 2010-04-17 04:00:03 -07:00
parent 3bb03db097
commit 52fc168905

View File

@ -1097,9 +1097,6 @@ fi
AM_CONDITIONAL(HAVE_OGGFLAC, test x$enable_oggflac = xyes) AM_CONDITIONAL(HAVE_OGGFLAC, test x$enable_oggflac = xyes)
AM_CONDITIONAL(HAVE_FLAC_COMMON,
test x$enable_flac = xyes || test x$enable_oggflac = xyes)
dnl -------------------------------- Ogg Vorbis ------------------------------- dnl -------------------------------- Ogg Vorbis -------------------------------
if test x$enable_tremor != xyes -a test x$enable_vorbis = xyes; then if test x$enable_tremor != xyes -a test x$enable_vorbis = xyes; then
PKG_CHECK_MODULES(VORBIS, [ogg vorbis vorbisfile], PKG_CHECK_MODULES(VORBIS, [ogg vorbis vorbisfile],
@ -1109,9 +1106,6 @@ fi
AM_CONDITIONAL(ENABLE_VORBIS_DECODER, test x$enable_vorbis = xyes) AM_CONDITIONAL(ENABLE_VORBIS_DECODER, test x$enable_vorbis = xyes)
AM_CONDITIONAL(HAVE_OGG_COMMON,
test x$enable_vorbis = xyes || test x$enable_oggflac = xyes || test x$enable_flac = xyes)
dnl --------------------------------- sidplay --------------------------------- dnl --------------------------------- sidplay ---------------------------------
found_sidplay=$HAVE_CXX found_sidplay=$HAVE_CXX
MPD_AUTO_PRE(sidplay, [sidplay decoder plugin], [No C++ compiler found]) MPD_AUTO_PRE(sidplay, [sidplay decoder plugin], [No C++ compiler found])
@ -1176,6 +1170,14 @@ fi
AM_CONDITIONAL(ENABLE_WILDMIDI, test x$enable_wildmidi = xyes) AM_CONDITIONAL(ENABLE_WILDMIDI, test x$enable_wildmidi = xyes)
dnl ------------------------ Post Decoder Plugins Tests -----------------------
AM_CONDITIONAL(HAVE_OGG_COMMON,
test x$enable_vorbis = xyes || test x$enable_oggflac = xyes || test x$enable_flac = xyes)
AM_CONDITIONAL(HAVE_FLAC_COMMON,
test x$enable_flac = xyes || test x$enable_oggflac = xyes)
dnl dnl
dnl Encoder API and shout/httpd output plugin dnl Encoder API and shout/httpd output plugin
dnl dnl