5 |
|
|
6 |
LINUXSAMPLER_RELEASE_MAJOR=1 |
LINUXSAMPLER_RELEASE_MAJOR=1 |
7 |
LINUXSAMPLER_RELEASE_MINOR=0 |
LINUXSAMPLER_RELEASE_MINOR=0 |
8 |
LINUXSAMPLER_RELEASE_BUILD=0.cvs13 |
LINUXSAMPLER_RELEASE_BUILD=0.svn18 |
9 |
|
|
10 |
#------------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------------ |
11 |
# The following is the libtool / shared library version. This doesn't have to |
# The following is the libtool / shared library version. This doesn't have to |
512 |
AM_CONDITIONAL(HAVE_DSSI, test $config_have_dssi = "yes") |
AM_CONDITIONAL(HAVE_DSSI, test $config_have_dssi = "yes") |
513 |
|
|
514 |
# LV2 |
# LV2 |
515 |
PKG_CHECK_MODULES(LV2, lv2core, config_have_lv2="yes", config_have_lv2="no") |
PKG_CHECK_MODULES(LV2, lv2, |
516 |
if test $config_have_lv2 = "no"; then |
[config_have_lv2="yes" |
517 |
AC_CHECK_HEADER(lv2.h, config_have_lv2="yes", config_have_lv2="no") |
AC_DEFINE(HAVE_LV2_PACKAGE, 1, |
518 |
fi |
[Define to 1 if you have the lv2 package installed.])], |
519 |
|
[config_have_lv2="no" |
520 |
|
PKG_CHECK_MODULES(LV2, lv2core, config_have_lv2="yes", |
521 |
|
[AC_CHECK_HEADER(lv2.h, config_have_lv2="yes")])]) |
522 |
|
|
523 |
|
AC_SUBST(LV2_CFLAGS) |
524 |
|
AC_SUBST(LV2_LIBS) |
525 |
AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes") |
AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes") |
526 |
|
|
527 |
# VST |
# VST |
634 |
# Check for Vorbis support in libsndfile |
# Check for Vorbis support in libsndfile |
635 |
linuxsampler_save_CFLAGS=$CFLAGS |
linuxsampler_save_CFLAGS=$CFLAGS |
636 |
CFLAGS="$SNDFILE_CFLAGS $CFLAGS" |
CFLAGS="$SNDFILE_CFLAGS $CFLAGS" |
637 |
AC_CHECK_DECLS([SF_FORMAT_VORBIS], [], [] ,[[#include <sndfile.h>]]) |
AC_CHECK_DECLS([SF_FORMAT_VORBIS], [], [], [[#include <sndfile.h>]]) |
638 |
|
|
639 |
# Check for loop functionality in libsndfile |
# Check for loop functionality in libsndfile |
640 |
AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],, |
AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],, |
746 |
asynchronous cancel of pthreads (default=yes |
asynchronous cancel of pthreads (default=yes |
747 |
for Mac targets, no otherwise).], |
for Mac targets, no otherwise).], |
748 |
[config_pthread_testcancel="$enableval"], |
[config_pthread_testcancel="$enableval"], |
749 |
[] |
[]) |
|
) |
|
750 |
if test "$config_pthread_testcancel" = "yes"; then |
if test "$config_pthread_testcancel" = "yes"; then |
751 |
AC_DEFINE_UNQUOTED(CONFIG_PTHREAD_TESTCANCEL, 1, [Define to 1 to enable pthread_testcancel() calls.]) |
AC_DEFINE_UNQUOTED(CONFIG_PTHREAD_TESTCANCEL, 1, [Define to 1 to enable pthread_testcancel() calls.]) |
752 |
fi |
fi |