# HG changeset patch # User nenolod # Date 1161655958 25200 # Node ID 7be4c601acfa20a07ed379ece92709c23f7d717d # Parent 98de08786b0a1d0f61ea990f8e15c8414eb1ae27 [svn] - the FLAC developers suck diff -r 98de08786b0a -r 7be4c601acfa ChangeLog --- a/ChangeLog Mon Oct 23 12:25:24 2006 -0700 +++ b/ChangeLog Mon Oct 23 19:12:38 2006 -0700 @@ -1,3 +1,11 @@ +2006-10-23 19:25:24 +0000 William Pitcock + revision [198] + - specifically blacklist the musepack mp2/mp3 variant + + trunk/src/mpg123/mpg123.c | 7 +++++++ + 1 file changed, 7 insertions(+) + + 2006-10-22 01:17:49 +0000 Tony Vroon revision [196] Flac now plays on 1.13, but not on 1.12. API breakage *sucks*, upstream should stop doing it. diff -r 98de08786b0a -r 7be4c601acfa m4/libFLAC.m4 --- a/m4/libFLAC.m4 Mon Oct 23 12:25:24 2006 -0700 +++ b/m4/libFLAC.m4 Mon Oct 23 19:12:38 2006 -0700 @@ -32,7 +32,7 @@ LIBFLAC_CFLAGS="-I$prefix/include" fi - AC_MSG_CHECKING(for libFLAC >= 1.1.2) + AC_MSG_CHECKING(for libFLAC >= 1.1.3) no_libFLAC="" @@ -55,8 +55,17 @@ int main () { -FLAC__format_vorbiscomment_entry_name_is_legal("foo"); - system("touch conf.libFLACtest"); + char cmdbuf[16384]; + + /* this will just bail if < 1.1.2 -nenolod */ + FLAC__format_vorbiscomment_entry_name_is_legal("foo"); + + /* we need the version of FLAC available, so dump it here. */ + sprintf(cmdbuf, "echo '%c%c%c' > conf.libFLACtest", + FLAC__VERSION_STRING[0], FLAC__VERSION_STRING[2], + FLAC__VERSION_STRING[4]); + + system(cmdbuf); return 0; } @@ -71,7 +80,9 @@ else AC_MSG_RESULT(no) if test -f conf.libFLACtest ; then - : + FLAC_VERSION=`cat conf.libFLACtest` + AC_DEFINE_UNQUOTED(AUD_FLAC_VERSION, $FLAC_VERSION, + [Available version of FLAC on your system.]) else echo "*** Could not run libFLAC test program, checking why..." CFLAGS="$CFLAGS $LIBFLAC_CFLAGS"