--- qsampler/trunk/configure.ac 2008/02/16 19:41:05 1698 +++ qsampler/trunk/configure.ac 2008/12/22 13:28:53 1816 @@ -1,5 +1,5 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(Qsampler, 0.2.1.7, rncbc@rncbc.org, qsampler) +AC_INIT(Qsampler, 0.2.1.22, rncbc@rncbc.org, qsampler) AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui) AC_CONFIG_HEADERS(config.h) @@ -243,7 +243,7 @@ ], ac_lscp_channel_midi_event="yes", ac_lscp_channel_midi_event="no") ]) if test "x$ac_lscp_channel_midi_event" = "xyes"; then - AC_DEFINE(CONFIG_LSCP_CHANNEL_MIDI, 1, [Define if LSCP CHANNEL_MIDI event support is available.]) + AC_DEFINE(CONFIG_EVENT_CHANNEL_MIDI, 1, [Define if LSCP CHANNEL_MIDI event support is available.]) fi AC_CACHE_CHECK([for DEVICE_MIDI LSCP event support in liblscp], @@ -257,7 +257,12 @@ ], ac_lscp_device_midi_event="yes", ac_lscp_device_midi_event="no") ]) if test "x$ac_lscp_device_midi_event" = "xyes"; then - AC_DEFINE(CONFIG_LSCP_DEVICE_MIDI, 1, [Define if LSCP DEVICE_MIDI event support is available.]) + AC_DEFINE(CONFIG_EVENT_DEVICE_MIDI, 1, [Define if LSCP DEVICE_MIDI event support is available.]) +fi + +AC_CHECK_LIB(lscp, lscp_get_voices, [ac_max_voices="yes"], [ac_max_voices="no"]) +if test "x$ac_max_voices" = "xyes"; then + AC_DEFINE(CONFIG_MAX_VOICES, 1, [Define if max. voices / streams is available.]) fi # Check for optional libraries. @@ -343,6 +348,7 @@ fi echo " LSCP channel MIDI event support . . . . . . . . .: $ac_lscp_channel_midi_event" echo " LSCP device MIDI event support . . . . . . . . . .: $ac_lscp_device_midi_event" +echo " LSCP runtime max. voices / disk streams support .: $ac_max_voices" echo echo " Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix" echo