--- linuxsampler/trunk/configure.ac 2012/09/08 17:33:03 2368 +++ linuxsampler/trunk/configure.ac 2013/09/04 20:40:12 2463 @@ -3,7 +3,7 @@ m4_define(linuxsampler_release_major, 1) m4_define(linuxsampler_release_minor, 0) -m4_define(linuxsampler_release_build, 0.svn18) +m4_define(linuxsampler_release_build, 0.svn22) AC_INIT([linuxsampler],[linuxsampler_release_major.linuxsampler_release_minor.linuxsampler_release_build]) @@ -126,7 +126,7 @@ ) AC_LANG_POP([C]) AC_MSG_RESULT([$have_unix98]) -if test "$have_unix98" = "no" -a "$have_windows" = "0"; then +if test "$have_unix98" = "no" -a "$have_windows" = "0" -a "$mac" = "no" ; then if test "x$HAVE_UNIX98" = "x"; then echo "LinuxSampler only runs on UNIX98 compatible systems, which is mandatory for" echo "pthread_mutexattr_settype() call in Mutex.cpp. You may want to run" @@ -627,10 +627,10 @@ AC_SUBST(SNDFILE_CFLAGS) AC_SUBST(SNDFILE_LIBS) -# Check for Vorbis support in libsndfile +# Check for Vorbis and FLAC support in libsndfile linuxsampler_save_CFLAGS=$CFLAGS CFLAGS="$SNDFILE_CFLAGS $CFLAGS" -AC_CHECK_DECLS([SF_FORMAT_VORBIS], [], [], [[#include ]]) +AC_CHECK_DECLS([SF_FORMAT_VORBIS, SF_FORMAT_FLAC], [], [], [[#include ]]) # Check for loop functionality in libsndfile AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],,