# HG changeset patch # User Ryan C. Gordon # Date 1019681310 0 # Node ID e867f050912ce143b9ed6d7f386cefde0ad494e3 # Parent 028f00df53aebab31ce26894875d3d84bcccbcf6 Seekable FLAC detection. diff -r 028f00df53ae -r e867f050912c acconfig.h --- a/acconfig.h Wed Apr 24 20:48:02 2002 +0000 +++ b/acconfig.h Wed Apr 24 20:48:30 2002 +0000 @@ -13,5 +13,6 @@ #undef SOUND_SUPPORTS_WAV #undef SOUND_SUPPORTS_MIDI #undef SOUND_SUPPORTS_FLAC +#undef SOUND_SUPPORTS_SEEKABLE_FLAC #undef SOUND_SUPPORTS_SMPEG #undef SOUND_SUPPORTS_MPGLIB diff -r 028f00df53ae -r e867f050912c configure.in --- a/configure.in Wed Apr 24 20:48:02 2002 +0000 +++ b/configure.in Wed Apr 24 20:48:30 2002 +0000 @@ -163,6 +163,17 @@ fi fi +dnl Check if libFLAC is recent enough for a seekable decoder +AC_ARG_ENABLE(seekable-flac, +[ --enable-seekable-flac enable the seekable decoder [default=yes]], + , enable_seekable_flac=yes) +if test x$enable_seekable_flac = xyes; then + AC_CHECK_LIB(FLAC, FLAC__seekable_stream_decoder_new, have_seekable_flac_lib=yes) + if test x$have_flac_hdr = xyes -a x$have_seekable_flac_lib = xyes; then + AC_DEFINE(SOUND_SUPPORTS_SEEKABLE_FLAC) + fi +fi + dnl Check for SMPEG AC_ARG_ENABLE(smpeg, [ --enable-smpeg enable MP3 decoding via smpeg [default=yes]],