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.14, rncbc@rncbc.org, qsampler) |
AC_INIT(Qsampler, 0.2.1.2, 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) |
234 |
if test "x$ac_libgig" = "xyes"; then |
if test "x$ac_libgig" = "xyes"; then |
235 |
AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.]) |
AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.]) |
236 |
ac_libs="$ac_libs -lgig" |
ac_libs="$ac_libs -lgig" |
237 |
|
AC_MSG_CHECKING([for gig::File::SetAutoLoad() method in libgig]) |
238 |
|
AC_LANG_SAVE |
239 |
|
AC_LANG_CPLUSPLUS |
240 |
|
CXXFLAGS="$ac_libs" |
241 |
|
AC_TRY_RUN([ |
242 |
|
#include <stdlib.h> |
243 |
|
#include <gig.h> |
244 |
|
int main() { |
245 |
|
gig::File file; |
246 |
|
file.SetAutoLoad(false); |
247 |
|
exit(0); |
248 |
|
} |
249 |
|
], |
250 |
|
have_libgig_setautoload="yes", |
251 |
|
have_libgig_setautoload="no", |
252 |
|
have_libgig_setautoload="no" |
253 |
|
) |
254 |
|
AC_LANG_RESTORE |
255 |
|
AC_MSG_RESULT([$have_libgig_setautoload]) |
256 |
|
if test "x$have_libgig_setautoload" = "xyes"; then |
257 |
|
AC_DEFINE(HAVE_LIBGIG_SETAUTOLOAD, 1, [Define if libgig provides gig::File::SetAutoLoad() method.]) |
258 |
|
fi |
259 |
fi |
fi |
260 |
fi |
fi |
261 |
|
|
305 |
echo " LSCP volume support . . . . . . . . . . . . . . .: $ac_volume" |
echo " LSCP volume support . . . . . . . . . . . . . . .: $ac_volume" |
306 |
echo " LSCP edit instrument support . . . . . . . . . . .: $ac_edit_instrument" |
echo " LSCP edit instrument support . . . . . . . . . . .: $ac_edit_instrument" |
307 |
echo " GigaSampler instrument file support (libgig) . . .: $ac_libgig" |
echo " GigaSampler instrument file support (libgig) . . .: $ac_libgig" |
308 |
|
if test "x$ac_libgig" = "xyes"; then |
309 |
|
echo " libgig supports fast information retrieval . . . .: $have_libgig_setautoload" |
310 |
|
fi |
311 |
echo |
echo |
312 |
echo " Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix" |
echo " Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix" |
313 |
echo |
echo |