--- linuxsampler/trunk/configure.in 2010/10/05 10:35:13 2140 +++ linuxsampler/trunk/configure.in 2011/02/21 17:34:36 2167 @@ -601,6 +601,13 @@ linuxsampler_save_CFLAGS=$CFLAGS CFLAGS="$SNDFILE_CFLAGS $CFLAGS" AC_CHECK_DECLS([SF_FORMAT_VORBIS], [], [] ,[[#include ]]) + +# Check for loop functionality in libsndfile +AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],, + [AC_MSG_WARN([Your version of libsndfile does not support + reading of loop information. LinuxSampler will not be able to + extract loop information from sample files.])], + [#include ]) CFLAGS=$linuxsampler_save_CFLAGS # Instruments DB feature (requires SQLite 3.3)