changeset 106:a22d1b51712e trunk

[svn] - bleah fix FLAC check
author nenolod
date Mon, 23 Oct 2006 20:06:39 -0700
parents 03aaf25229d6
children ef4bc8441d10
files ChangeLog m4/libFLAC.m4
diffstat 2 files changed, 19 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Oct 23 19:56:04 2006 -0700
+++ b/ChangeLog	Mon Oct 23 20:06:39 2006 -0700
@@ -1,3 +1,14 @@
+2006-10-24 02:56:04 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [210]
+  - choose between flac112 or flac113 based on which version is 
+    determined
+  - if anyone meets a FLAC developer; tell them I want them to die in a 
+    fire, thx.
+  
+  trunk/configure.ac |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2006-10-24 02:55:09 +0000  William Pitcock <nenolod@nenolod.net>
   revision [208]
   - 1.1.2 compatible plugin (I HATE YOU FLAC PEOPLE)
--- a/m4/libFLAC.m4	Mon Oct 23 19:56:04 2006 -0700
+++ b/m4/libFLAC.m4	Mon Oct 23 20:06:39 2006 -0700
@@ -32,7 +32,7 @@
     LIBFLAC_CFLAGS="-I$prefix/include"
   fi
 
-  AC_MSG_CHECKING(for libFLAC >= 1.1.3)
+  AC_MSG_CHECKING(for libFLAC >= 1.1.2)
   no_libFLAC=""
 
 
@@ -74,15 +74,19 @@
        LIBS="$ac_save_LIBS"
   fi
 
+  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.])
+  fi
+
   if test "x$no_libFLAC" = "x" ; then
      AC_MSG_RESULT(yes)
      ifelse([$1], , :, [$1])     
   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"