Mercurial > audlegacy-plugins
diff m4/libFLAC.m4 @ 106:a22d1b51712e trunk
[svn] - bleah fix FLAC check
| author | nenolod |
|---|---|
| date | Mon, 23 Oct 2006 20:06:39 -0700 |
| parents | 7be4c601acfa |
| children | 1983383db0f5 |
line wrap: on
line diff
--- 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"
