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.1.3.20, rncbc@rncbc.org, qsampler) |
AC_INIT(Qsampler, 0.1.3.23, rncbc@rncbc.org, qsampler) |
3 |
AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui.h) |
AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui.h) |
4 |
AC_CONFIG_HEADERS(config.h) |
AC_CONFIG_HEADERS(config.h) |
5 |
AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec) |
AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec) |
201 |
AC_CHECK_LIB(lscp, lscp_create_fxsend, [ac_fxsend="yes"], [ac_fxsend="no"]) |
AC_CHECK_LIB(lscp, lscp_create_fxsend, [ac_fxsend="yes"], [ac_fxsend="no"]) |
202 |
if test "x$ac_fxsend" = "xyes"; then |
if test "x$ac_fxsend" = "xyes"; then |
203 |
AC_DEFINE(CONFIG_FXSEND, 1, [Define if FX sends is available.]) |
AC_DEFINE(CONFIG_FXSEND, 1, [Define if FX sends is available.]) |
204 |
|
AC_CACHE_CHECK([for FX send level in lscp_fxsend_info_t], |
205 |
|
ac_fxsend_level, [ |
206 |
|
AC_TRY_COMPILE([#include "lscp/client.h"], [ |
207 |
|
lscp_fxsend_info_t info; |
208 |
|
info.level = 0.0f; |
209 |
|
], ac_fxsend_level="yes", ac_fxsend_level="no") |
210 |
|
]) |
211 |
|
if test "x$ac_fxsend_level" = "xyes"; then |
212 |
|
AC_DEFINE(CONFIG_FXSEND_LEVEL, 1, [Define if FX send level is available.]) |
213 |
|
fi |
214 |
fi |
fi |
215 |
|
|
216 |
AC_CACHE_CHECK([for audio_routing array type], |
AC_CACHE_CHECK([for audio_routing array type], |