# HG changeset patch # User lumag # Date 1065374109 0 # Node ID 4615efd936c79271ce0ecbfa7a9461bc65e0c184 # Parent 1c26b46779776065531bace0cd63c1cdd91c75a8 Improve flac detection a bit. Now you can safely remove all files from libmpflac subdir, except this ones: defs.h dither.c dither.h private_fast_float_math_hack.h replaygain_synthesis.c replaygain_synthesis.h They are necessary to playback. diff -r 1c26b4677977 -r 4615efd936c7 configure --- a/configure Sun Oct 05 15:54:17 2003 +0000 +++ b/configure Sun Oct 05 17:15:09 2003 +0000 @@ -1098,7 +1098,7 @@ _faad_local=yes _xmms=no _flac=auto -_external_flac=no +_external_flac=auto _css=auto # dvdnav disabled, it does not work #_dvdnav=no @@ -5246,8 +5246,16 @@ echores "$_xmms" echocheck "FLAC support" -if test "$_flac" = auto ; then - if test "$_external_flac" = yes ; then +if ! test "$_flac" = "no" ; then + if ! test -f libmpflac/dither.c ; then + _flac=no + echores "no (necessary files missing)" + break + fi + if ! test -f libmpflac/stream_decoder.c ; then + _external_flac=yes + fi + if test "$_external_flac" = "yes" ; then cat > $TMPC << EOF #include #include