-fi
-if test $want_alsa = yes; then
- AC_CHECK_LIB([asound], [snd_pcm_open],
- [AC_SUBST(LIBASOUND,[-lasound])],
- [missing_libraries="$missing_libraries libasound"])
- AC_DEFINE([API_ALSA],[1],[define to use the ALSA API])
+ AC_CHECK_LIB([FLAC], [FLAC__stream_decoder_new],
+ [AC_SUBST(LIBFLAC,[-lFLAC])],
+ [missing_libraries="$missing_libraries libFLAC"])