--- qsampler/trunk/configure.ac 2006/09/24 12:47:51 920 +++ qsampler/trunk/configure.ac 2006/11/29 11:48:26 957 @@ -1,5 +1,5 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(Qsampler, 0.1.3.1, rncbc@rncbc.org, qsampler) +AC_INIT(Qsampler, 0.1.3.2, rncbc@rncbc.org, qsampler) AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui.h) AC_CONFIG_HEADERS(config.h) AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec) @@ -193,6 +193,11 @@ AC_DEFINE(CONFIG_MUTE_SOLO, 1, [Define if mute/solo is available.]) fi +AC_CHECK_LIB(lscp, lscp_map_midi_instrument, [ac_midi_instrument="yes"], [ac_midi_instrument="no"]) +if test "x$ac_midi_instrument" = "xyes"; then + AC_DEFINE(CONFIG_MIDI_INSTRUMENT, 1, [Define if MIDI instrument mapping is available.]) +fi + # Check for optional libraries. if test "x$ac_libgig" = "xyes"; then AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"])