changeset 286:b8482261841d trunk

[svn] - revise CXXFLAGS fix.
author yaz
date Mon, 20 Nov 2006 19:45:10 -0800
parents 6612ede1b934
children eb768b801ab1
files ChangeLog m4/libFLAC.m4
diffstat 2 files changed, 14 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Nov 20 19:41:23 2006 -0800
+++ b/ChangeLog	Mon Nov 20 19:45:10 2006 -0800
@@ -1,3 +1,11 @@
+2006-11-21 03:41:23 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [608]
+  - fix flac113 crashes at startup time.
+  
+  trunk/src/flac113/plugin.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2006-11-21 02:24:07 +0000  William Pitcock <nenolod@nenolod.net>
   revision [604]
   - wavpack/wputils.h is deprecated, wavpack/wavpack.h should be used instead.
--- a/m4/libFLAC.m4	Mon Nov 20 19:41:23 2006 -0800
+++ b/m4/libFLAC.m4	Mon Nov 20 19:45:10 2006 -0800
@@ -24,12 +24,14 @@
 
   LIBFLAC_LIBS="$LIBFLAC_LIBS -lFLAC -logg -lm"
 
+  if test "x$prefix" != "xNONE"; then
+    LIBFLAC_CFLAGS="-I$prefix/include"
+  fi
+
   if test "x$libFLAC_includes" != "x" ; then
-    LIBFLAC_CFLAGS="-I$prefix/include -I$libFLAC_includes"
+    LIBFLAC_CFLAGS="$LIBFLAC_CFLAGS -I$libFLAC_includes"
   elif test "x$libFLAC_prefix" != "x" ; then
-    LIBFLAC_CFLAGS="-I$prefix/include -I$libFLAC_prefix/include"
-  elif test "x$prefix" != "xNONE"; then
-    LIBFLAC_CFLAGS="-I$prefix/include"
+    LIBFLAC_CFLAGS="$LIBFLAC_CFLAGS -I$libFLAC_prefix/include"
   fi
 
   AC_MSG_CHECKING(for libFLAC >= 1.1.2)