Changed FLAY_LIBS to FLAC_LIBS, as pointed out by Lord_Nightmare on

#scummvm. Clarified that it's FLAC >= 1.0.1 that the configure script is
looking for. (That's when the seekable decoder was added.)

svn-id: r13010
This commit is contained in:
Torbjörn Andersson 2004-02-23 16:41:05 +00:00
parent f5239ada1f
commit 87438d5417

4
configure vendored
View file

@ -633,14 +633,14 @@ else
fi
echo "$_vorbis"
echocheck "FLAC"
echocheck "FLAC >= 1.0.1"
if test "$_flac" = auto ; then
_flac=no
cat > $TMPC << EOF
#include <FLAC/seekable_stream_decoder.h>
int main(void) { FLAC__seekable_stream_decoder_init( 0 ); return 0; }
EOF
cc_check $LDFLAGS $CXXFLAGS $FLAC_CFLAGS $FLAY_LIBS \
cc_check $LDFLAGS $CXXFLAGS $FLAC_CFLAGS $FLAC_LIBS \
-lFLAC -lm && _flac=yes
fi
if test "$_flac" = yes ; then