5 |
|
|
6 |
LINUXSAMPLER_RELEASE_MAJOR=0 |
LINUXSAMPLER_RELEASE_MAJOR=0 |
7 |
LINUXSAMPLER_RELEASE_MINOR=5 |
LINUXSAMPLER_RELEASE_MINOR=5 |
8 |
LINUXSAMPLER_RELEASE_BUILD=1 |
LINUXSAMPLER_RELEASE_BUILD=1.5cvs |
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 |
33 |
# the LSCP specification version this LinuSampler release complies with: |
# the LSCP specification version this LinuSampler release complies with: |
34 |
|
|
35 |
LSCP_RELEASE_MAJOR=1 |
LSCP_RELEASE_MAJOR=1 |
36 |
LSCP_RELEASE_MINOR=3 |
LSCP_RELEASE_MINOR=4 |
37 |
|
|
38 |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.]) |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.]) |
39 |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.]) |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.]) |
52 |
AC_SUBST(target_os) |
AC_SUBST(target_os) |
53 |
AC_SUBST(target_vendor) |
AC_SUBST(target_vendor) |
54 |
|
|
55 |
|
PKG_PROG_PKG_CONFIG |
56 |
|
|
57 |
########################################################################### |
########################################################################### |
58 |
# General Checks |
# General Checks |
273 |
AM_CONDITIONAL(HAVE_JACK, test $have_jack = "1") |
AM_CONDITIONAL(HAVE_JACK, test $have_jack = "1") |
274 |
AC_DEFINE_UNQUOTED(HAVE_JACK,$have_jack,[Define to 1 if you have JACK installed.]) |
AC_DEFINE_UNQUOTED(HAVE_JACK,$have_jack,[Define to 1 if you have JACK installed.]) |
275 |
|
|
276 |
|
# JACK MIDI |
277 |
|
have_jack_midi=0 |
278 |
|
if test $have_jack = "1"; then |
279 |
|
linuxsampler_save_CFLAGS=$CFLAGS |
280 |
|
linuxsampler_save_LIBS=$LIBS |
281 |
|
CFLAGS="$JACK_CFLAGS $CFLAGS" |
282 |
|
LIBS="$JACK_LIBS $LIBS" |
283 |
|
AC_CHECK_HEADER(jack/midiport.h, have_jack_midi=1, have_jack_midi=0) |
284 |
|
if test $have_jack_midi = "1"; then |
285 |
|
AC_CHECK_FUNCS(jack_midi_get_event_count) |
286 |
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jack/midiport.h>]], [[ |
287 |
|
jack_midi_clear_buffer(0, 0); |
288 |
|
]])], [AC_DEFINE(JACK_MIDI_FUNCS_NEED_NFRAMES, 1, |
289 |
|
[Define to 1 if you have the old jack midi functions that need an nframes argument.])]) |
290 |
|
have_midi_input_driver="true" |
291 |
|
fi |
292 |
|
CFLAGS=$linuxsampler_save_CFLAGS |
293 |
|
LIBS=$linuxsampler_save_LIBS |
294 |
|
fi |
295 |
|
AM_CONDITIONAL(HAVE_JACK_MIDI, test $have_jack_midi = "1") |
296 |
|
AC_DEFINE_UNQUOTED(HAVE_JACK_MIDI, $have_jack_midi, |
297 |
|
[Define to 1 if you have JACK with MIDI support installed.]) |
298 |
|
|
299 |
# ARTS |
# ARTS |
300 |
AC_ARG_ENABLE(arts-driver, |
AC_ARG_ENABLE(arts-driver, |
301 |
[ --disable-arts-driver |
[ --disable-arts-driver |
431 |
if test "$have_midi_input_driver" = "false"; then |
if test "$have_midi_input_driver" = "false"; then |
432 |
echo "No supported MIDI input system found!" |
echo "No supported MIDI input system found!" |
433 |
echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:" |
echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:" |
434 |
echo "ALSA, MIDIShare, CoreMIDI." |
echo "ALSA, JACK, MIDIShare, CoreMIDI, MME." |
435 |
echo "If you think you have one of those available on your system, make sure you" |
echo "If you think you have one of those available on your system, make sure you" |
436 |
echo "also have the respective development (header) files installed." |
echo "also have the respective development (header) files installed." |
437 |
exit -1; |
exit -1; |
438 |
fi |
fi |
439 |
if test "$have_audio_output_driver" = "false"; then |
if test "$have_audio_output_driver" = "false"; then |
440 |
echo "No supported audio output system found!" |
echo "No supported audio output system found!" |
441 |
echo "Sorry, LinuxSampler only supports ALSA, JACK and ARTS as audio output" |
echo "Sorry, LinuxSampler only supports ALSA, JACK, ARTS and ASIO as audio output" |
442 |
echo "driver at the moment!" |
echo "driver at the moment!" |
443 |
exit -1; |
exit -1; |
444 |
fi |
fi |
556 |
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.]) |
557 |
fi |
fi |
558 |
|
|
559 |
|
AC_ARG_ENABLE(pthread-testcancel, |
560 |
|
[ --enable-pthread-testcancel |
561 |
|
Enable pthread_testcancel() calls and avoid asynchronous |
562 |
|
cancel of pthreads (default=no).], |
563 |
|
[config_pthread_testcancel="$enableval"], |
564 |
|
[config_pthread_testcancel="no"] |
565 |
|
) |
566 |
|
if test "$config_pthread_testcancel" = "yes"; then |
567 |
|
AC_DEFINE_UNQUOTED(CONFIG_PTHREAD_TESTCANCEL, 1, [Define to 1 to enable pthread_testcancel() calls.]) |
568 |
|
fi |
569 |
|
|
570 |
AC_ARG_ENABLE(preload-samples, |
AC_ARG_ENABLE(preload-samples, |
571 |
[ --enable-preload-samples |
[ --enable-preload-samples |
572 |
Due to seeking and latency issues with hard drives |
Due to seeking and latency issues with hard drives |
1139 |
src/engines/Makefile \ |
src/engines/Makefile \ |
1140 |
src/engines/gig/Makefile \ |
src/engines/gig/Makefile \ |
1141 |
src/engines/common/Makefile \ |
src/engines/common/Makefile \ |
1142 |
|
src/effects/Makefile \ |
1143 |
src/common/Makefile \ |
src/common/Makefile \ |
1144 |
src/testcases/Makefile \ |
src/testcases/Makefile \ |
1145 |
src/drivers/Makefile \ |
src/drivers/Makefile \ |