1 |
# Process this file with autoconf to produce a configure script. |
# Process this file with autoconf to produce a configure script. |
2 |
AC_INIT(Qsampler, 0.2.1.5, rncbc@rncbc.org, qsampler) |
AC_INIT(Qsampler, 0.2.1.6, rncbc@rncbc.org, qsampler) |
3 |
|
|
4 |
AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui) |
AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui) |
5 |
AC_CONFIG_HEADERS(config.h) |
AC_CONFIG_HEADERS(config.h) |
232 |
AC_DEFINE(CONFIG_EDIT_INSTRUMENT, 1, [Define if instrument editing is available.]) |
AC_DEFINE(CONFIG_EDIT_INSTRUMENT, 1, [Define if instrument editing is available.]) |
233 |
fi |
fi |
234 |
|
|
235 |
|
AC_CACHE_CHECK([for CHANNEL_MIDI LSCP event support in liblscp], |
236 |
|
ac_lscp_channel_midi_event, [ |
237 |
|
AC_TRY_COMPILE([ |
238 |
|
#include "lscp/client.h" |
239 |
|
#include "lscp/event.h" |
240 |
|
], [ |
241 |
|
lscp_event_t ev; |
242 |
|
ev = LSCP_EVENT_CHANNEL_MIDI; |
243 |
|
], ac_lscp_channel_midi_event="yes", ac_lscp_channel_midi_event="no") |
244 |
|
]) |
245 |
|
if test "x$ac_lscp_channel_midi_event" = "xyes"; then |
246 |
|
AC_DEFINE(CONFIG_LSCP_CHANNEL_MIDI, 1, [Define if LSCP CHANNEL_MIDI event support is available.]) |
247 |
|
fi |
248 |
|
|
249 |
# Check for optional libraries. |
# Check for optional libraries. |
250 |
if test "x$ac_libgig" = "xyes"; then |
if test "x$ac_libgig" = "xyes"; then |
251 |
AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"]) |
AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"]) |
327 |
if test "x$ac_libgig" = "xyes"; then |
if test "x$ac_libgig" = "xyes"; then |
328 |
echo " libgig supports fast information retrieval . . . .: $have_libgig_setautoload" |
echo " libgig supports fast information retrieval . . . .: $have_libgig_setautoload" |
329 |
fi |
fi |
330 |
|
echo " LSCP channel MIDI event support . . . . . . . . .: $ac_lscp_channel_midi_event" |
331 |
echo |
echo |
332 |
echo " Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix" |
echo " Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix" |
333 |
echo |
echo |