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.0.18, rncbc@rncbc.org, qsampler) |
AC_INIT(Qsampler, 0.2.1.3, 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) |
205 |
if test "x$ac_fxsend_level" = "xyes"; then |
if test "x$ac_fxsend_level" = "xyes"; then |
206 |
AC_DEFINE(CONFIG_FXSEND_LEVEL, 1, [Define if FX send level is available.]) |
AC_DEFINE(CONFIG_FXSEND_LEVEL, 1, [Define if FX send level is available.]) |
207 |
fi |
fi |
208 |
|
AC_CHECK_LIB(lscp, lscp_set_fxsend_name, [ac_fxsend_rename="yes"], [ac_fxsend_rename="no"]) |
209 |
|
if test "x$ac_fxsend_rename" = "xyes"; then |
210 |
|
AC_DEFINE(CONFIG_FXSEND_RENAME, 1, [Define if FX send rename is available.]) |
211 |
|
fi |
212 |
fi |
fi |
213 |
|
|
214 |
AC_CACHE_CHECK([for audio_routing array type], |
AC_CACHE_CHECK([for audio_routing array type], |
238 |
if test "x$ac_libgig" = "xyes"; then |
if test "x$ac_libgig" = "xyes"; then |
239 |
AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.]) |
AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.]) |
240 |
ac_libs="$ac_libs -lgig" |
ac_libs="$ac_libs -lgig" |
241 |
|
AC_MSG_CHECKING([for gig::File::SetAutoLoad() method in libgig]) |
242 |
|
AC_LANG_SAVE |
243 |
|
AC_LANG_CPLUSPLUS |
244 |
|
CXXFLAGS="$ac_libs" |
245 |
|
AC_TRY_RUN([ |
246 |
|
#include <stdlib.h> |
247 |
|
#include <gig.h> |
248 |
|
int main() { |
249 |
|
gig::File file; |
250 |
|
file.SetAutoLoad(false); |
251 |
|
exit(0); |
252 |
|
} |
253 |
|
], |
254 |
|
have_libgig_setautoload="yes", |
255 |
|
have_libgig_setautoload="no", |
256 |
|
have_libgig_setautoload="no" |
257 |
|
) |
258 |
|
AC_LANG_RESTORE |
259 |
|
AC_MSG_RESULT([$have_libgig_setautoload]) |
260 |
|
if test "x$have_libgig_setautoload" = "xyes"; then |
261 |
|
AC_DEFINE(HAVE_LIBGIG_SETAUTOLOAD, 1, [Define if libgig provides gig::File::SetAutoLoad() method.]) |
262 |
|
fi |
263 |
fi |
fi |
264 |
fi |
fi |
265 |
|
|
305 |
echo " LSCP MIDI instrument support . . . . . . . . . . .: $ac_midi_instrument" |
echo " LSCP MIDI instrument support . . . . . . . . . . .: $ac_midi_instrument" |
306 |
echo " LSCP FX send support . . . . . . . . . . . . . . .: $ac_fxsend" |
echo " LSCP FX send support . . . . . . . . . . . . . . .: $ac_fxsend" |
307 |
echo " LSCP FX send level support . . . . . . . . . . . .: $ac_fxsend_level" |
echo " LSCP FX send level support . . . . . . . . . . . .: $ac_fxsend_level" |
308 |
|
echo " LSCP FX send rename support . . . . . . . . . . .: $ac_fxsend_rename" |
309 |
echo " LSCP audio routing support . . . . . . . . . . . .: $ac_audio_routing" |
echo " LSCP audio routing support . . . . . . . . . . . .: $ac_audio_routing" |
310 |
echo " LSCP volume support . . . . . . . . . . . . . . .: $ac_volume" |
echo " LSCP volume support . . . . . . . . . . . . . . .: $ac_volume" |
311 |
echo " LSCP edit instrument support . . . . . . . . . . .: $ac_edit_instrument" |
echo " LSCP edit instrument support . . . . . . . . . . .: $ac_edit_instrument" |
312 |
echo " GigaSampler instrument file support (libgig) . . .: $ac_libgig" |
echo " GigaSampler instrument file support (libgig) . . .: $ac_libgig" |
313 |
|
if test "x$ac_libgig" = "xyes"; then |
314 |
|
echo " libgig supports fast information retrieval . . . .: $have_libgig_setautoload" |
315 |
|
fi |
316 |
echo |
echo |
317 |
echo " Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix" |
echo " Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix" |
318 |
echo |
echo |