configure.ac: get rid of scary message about OggFLAC with FLAC 1.1.3

We don't need to check for libOggFLAC with FLAC 1.1.3
because FLAC 1.1.3 can be recompiled to enable/disable
OggFLAC support without recompiling mpd.

git-svn-id: https://svn.musicpd.org/mpd/trunk@5255 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Eric Wong 2007-01-14 04:25:19 +00:00
parent b443363aa6
commit 6f341e9a3b

View File

@ -549,6 +549,10 @@ if test x$enable_flac = xyes; then
if test x$enable_flac = xno; then
MPD_CFLAGS="$oldmpdcflags"
MPD_LIBS="$oldmpdlibs"
else
AC_CHECK_DECL(FLAC_API_SUPPORTS_OGG_FLAC,
[enable_oggflac=flac], [],
[#include <FLAC/export.h>])
fi
CFLAGS="$oldcflags"
LIBS="$oldlibs"
@ -726,11 +730,17 @@ else
echo " FLAC support ..................disabled"
fi
if test x$enable_oggflac = xyes; then
case $enable_oggflac in
yes)
echo " OggFLAC support ...............enabled"
else
;;
flac)
echo " OggFLAC support ...............enabled(FLAC 1.1.3)"
;;
*)
echo " OggFLAC support ...............disabled"
fi
;;
esac
if test x$enable_audiofile = xyes; then
echo " Wave file support .............enabled"