Commit 6f341e9a authored by Eric Wong's avatar Eric Wong

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
parent b443363a
...@@ -549,6 +549,10 @@ if test x$enable_flac = xyes; then ...@@ -549,6 +549,10 @@ if test x$enable_flac = xyes; then
if test x$enable_flac = xno; then if test x$enable_flac = xno; then
MPD_CFLAGS="$oldmpdcflags" MPD_CFLAGS="$oldmpdcflags"
MPD_LIBS="$oldmpdlibs" MPD_LIBS="$oldmpdlibs"
else
AC_CHECK_DECL(FLAC_API_SUPPORTS_OGG_FLAC,
[enable_oggflac=flac], [],
[#include <FLAC/export.h>])
fi fi
CFLAGS="$oldcflags" CFLAGS="$oldcflags"
LIBS="$oldlibs" LIBS="$oldlibs"
...@@ -726,11 +730,17 @@ else ...@@ -726,11 +730,17 @@ else
echo " FLAC support ..................disabled" echo " FLAC support ..................disabled"
fi fi
if test x$enable_oggflac = xyes; then case $enable_oggflac in
yes)
echo " OggFLAC support ...............enabled" echo " OggFLAC support ...............enabled"
else ;;
flac)
echo " OggFLAC support ...............enabled(FLAC 1.1.3)"
;;
*)
echo " OggFLAC support ...............disabled" echo " OggFLAC support ...............disabled"
fi ;;
esac
if test x$enable_audiofile = xyes; then if test x$enable_audiofile = xyes; then
echo " Wave file support .............enabled" echo " Wave file support .............enabled"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment