5 |
|
|
6 |
LINUXSAMPLER_RELEASE_MAJOR=1 |
LINUXSAMPLER_RELEASE_MAJOR=1 |
7 |
LINUXSAMPLER_RELEASE_MINOR=0 |
LINUXSAMPLER_RELEASE_MINOR=0 |
8 |
LINUXSAMPLER_RELEASE_BUILD=0.cvs7 |
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 |
45 |
AC_SUBST(SHLIB_VERSION_ARG) |
AC_SUBST(SHLIB_VERSION_ARG) |
46 |
AC_SUBST(SHARED_VERSION_INFO) |
AC_SUBST(SHARED_VERSION_INFO) |
47 |
|
|
48 |
|
module=yes eval LIB_EXT=$shrext_cmds |
49 |
|
AC_SUBST(LIB_EXT) |
50 |
|
|
51 |
AC_C_BIGENDIAN |
AC_C_BIGENDIAN |
52 |
AC_CANONICAL_HOST |
AC_CANONICAL_HOST |
53 |
|
|
81 |
fi |
fi |
82 |
AC_SUBST([CXX_CPU_SWITCH]) |
AC_SUBST([CXX_CPU_SWITCH]) |
83 |
|
|
84 |
|
mac=no |
85 |
|
linux=no |
86 |
|
case "$host" in |
87 |
|
*-*-darwin*) |
88 |
|
mac=yes |
89 |
|
;; |
90 |
|
*-*-linux*) |
91 |
|
linux=yes |
92 |
|
;; |
93 |
|
esac |
94 |
|
AM_CONDITIONAL(LINUX, test "$linux" = yes) |
95 |
|
AM_CONDITIONAL(MAC, test "$mac" = yes) |
96 |
|
|
97 |
# check if we're on MS Windows |
# check if we're on MS Windows |
98 |
AC_CHECK_HEADERS( |
AC_CHECK_HEADERS( |
99 |
mmsystem.h, |
mmsystem.h, |
515 |
AM_CONDITIONAL(HAVE_DSSI, test $config_have_dssi = "yes") |
AM_CONDITIONAL(HAVE_DSSI, test $config_have_dssi = "yes") |
516 |
|
|
517 |
# LV2 |
# LV2 |
518 |
PKG_CHECK_MODULES(LV2, lv2core, config_have_lv2="yes", config_have_lv2="no") |
PKG_CHECK_MODULES(LV2, lv2 >= 1.0.0, config_have_lv2="yes", config_have_lv2="no") |
519 |
if test $config_have_lv2 = "no"; then |
AC_SUBST(LV2_CFLAGS) |
520 |
AC_CHECK_HEADER(lv2.h, config_have_lv2="yes", config_have_lv2="no") |
AC_SUBST(LV2_LIBS) |
|
fi |
|
521 |
AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes") |
AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes") |
522 |
|
|
523 |
# VST |
# VST |
543 |
AM_CONDITIONAL(HAVE_AU, test $config_have_au = "yes") |
AM_CONDITIONAL(HAVE_AU, test $config_have_au = "yes") |
544 |
AM_CONDITIONAL(HAVE_AUFLAGS, test "$AUFLAGS" != "") |
AM_CONDITIONAL(HAVE_AUFLAGS, test "$AUFLAGS" != "") |
545 |
|
|
546 |
|
if test $config_have_au = "yes" ; then |
547 |
|
if test "x$DEVELOPER_EXTRAS_DIR" = "x" ; then |
548 |
|
if test -d /Developer/Extras ; then |
549 |
|
DEVELOPER_EXTRAS_DIR=/Developer/Extras |
550 |
|
else |
551 |
|
DEVELOPER_EXTRAS_DIR=/Developer/Examples |
552 |
|
fi |
553 |
|
fi |
554 |
|
AC_SUBST(DEVELOPER_EXTRAS_DIR) |
555 |
|
fi |
556 |
|
|
557 |
|
if test "x$MAC_PLUGIN_INSTALL_DIR" = "x" ; then |
558 |
|
MAC_PLUGIN_INSTALL_DIR=/Library/Audio/Plug-Ins |
559 |
|
fi |
560 |
|
AC_SUBST(MAC_PLUGIN_INSTALL_DIR) |
561 |
|
|
562 |
# have we found at least one MIDI input and one audio output driver ? |
# have we found at least one MIDI input and one audio output driver ? |
563 |
if test "$have_midi_input_driver" = "false"; then |
if test "$have_midi_input_driver" = "false"; then |
630 |
# Check for Vorbis support in libsndfile |
# Check for Vorbis support in libsndfile |
631 |
linuxsampler_save_CFLAGS=$CFLAGS |
linuxsampler_save_CFLAGS=$CFLAGS |
632 |
CFLAGS="$SNDFILE_CFLAGS $CFLAGS" |
CFLAGS="$SNDFILE_CFLAGS $CFLAGS" |
633 |
AC_CHECK_DECLS([SF_FORMAT_VORBIS], [], [] ,[[#include <sndfile.h>]]) |
AC_CHECK_DECLS([SF_FORMAT_VORBIS], [], [], [[#include <sndfile.h>]]) |
634 |
|
|
635 |
|
# Check for loop functionality in libsndfile |
636 |
|
AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],, |
637 |
|
[AC_MSG_WARN([Your version of libsndfile does not support |
638 |
|
reading of loop information. LinuxSampler will not be able to |
639 |
|
extract loop information from sample files.])], |
640 |
|
[#include <sndfile.h>]) |
641 |
CFLAGS=$linuxsampler_save_CFLAGS |
CFLAGS=$linuxsampler_save_CFLAGS |
642 |
|
|
643 |
# Instruments DB feature (requires SQLite 3.3) |
# Instruments DB feature (requires SQLite 3.3) |
735 |
AC_DEFINE_UNQUOTED(CONFIG_RT_EXCEPTIONS, 1, [Define to 1 to allow exceptions in the realtime context.]) |
AC_DEFINE_UNQUOTED(CONFIG_RT_EXCEPTIONS, 1, [Define to 1 to allow exceptions in the realtime context.]) |
736 |
fi |
fi |
737 |
|
|
738 |
|
config_pthread_testcancel="$mac" |
739 |
AC_ARG_ENABLE(pthread-testcancel, |
AC_ARG_ENABLE(pthread-testcancel, |
740 |
[ --enable-pthread-testcancel |
[ --enable-pthread-testcancel |
741 |
Enable pthread_testcancel() calls and avoid asynchronous |
Enable pthread_testcancel() calls and avoid |
742 |
cancel of pthreads (default=no).], |
asynchronous cancel of pthreads (default=yes |
743 |
|
for Mac targets, no otherwise).], |
744 |
[config_pthread_testcancel="$enableval"], |
[config_pthread_testcancel="$enableval"], |
745 |
[config_pthread_testcancel="no"] |
[]) |
|
) |
|
746 |
if test "$config_pthread_testcancel" = "yes"; then |
if test "$config_pthread_testcancel" = "yes"; then |
747 |
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.]) |
748 |
fi |
fi |
1341 |
src/hostplugins/Makefile \ |
src/hostplugins/Makefile \ |
1342 |
src/hostplugins/dssi/Makefile \ |
src/hostplugins/dssi/Makefile \ |
1343 |
src/hostplugins/lv2/Makefile \ |
src/hostplugins/lv2/Makefile \ |
1344 |
|
src/hostplugins/lv2/manifest.ttl \ |
1345 |
src/hostplugins/vst/Makefile \ |
src/hostplugins/vst/Makefile \ |
1346 |
src/hostplugins/au/Makefile \ |
src/hostplugins/au/Makefile \ |
1347 |
linuxsampler.spec \ |
linuxsampler.spec \ |