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.]) |
40 |
|
|
41 |
|
AC_PROG_CXX |
42 |
AM_PROG_LIBTOOL |
AM_PROG_LIBTOOL |
43 |
|
|
44 |
AC_SUBST(SHLIB_VERSION_ARG) |
AC_SUBST(SHLIB_VERSION_ARG) |
162 |
echo "NPTL glibc bug check disabled" |
echo "NPTL glibc bug check disabled" |
163 |
fi |
fi |
164 |
|
|
165 |
|
# FIXME: this is actually a dependency of libgig, not of LS directly, why |
166 |
|
# isn't it hidden by libgig? |
167 |
|
AC_CHECK_HEADERS(uuid/uuid.h) |
168 |
|
AC_SEARCH_LIBS(uuid_generate, uuid) |
169 |
|
|
170 |
|
|
171 |
|
|
172 |
########################################################################### |
########################################################################### |
270 |
if test $have_jack = "1"; then |
if test $have_jack = "1"; then |
271 |
AC_SUBST(JACK_LIBS) |
AC_SUBST(JACK_LIBS) |
272 |
AC_SUBST(JACK_CFLAGS) |
AC_SUBST(JACK_CFLAGS) |
273 |
AC_CHECK_LIB(jack, jack_client_name_size, [AC_DEFINE(HAVE_JACK_CLIENT_NAME_SIZE, 1, [Define to 1 if you have the `jack_client_name_size' function.])], , $JACK_LIBS) |
linuxsampler_save_LIBS=$LIBS |
274 |
|
LIBS="$JACK_LIBS $LIBS" |
275 |
|
AC_CHECK_FUNCS(jack_client_name_size jack_client_open) |
276 |
|
LIBS=$linuxsampler_save_LIBS |
277 |
have_audio_output_driver="true"; |
have_audio_output_driver="true"; |
278 |
fi |
fi |
279 |
else |
else |
282 |
AM_CONDITIONAL(HAVE_JACK, test $have_jack = "1") |
AM_CONDITIONAL(HAVE_JACK, test $have_jack = "1") |
283 |
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.]) |
284 |
|
|
285 |
|
# JACK MIDI |
286 |
|
have_jack_midi=0 |
287 |
|
if test $have_jack = "1"; then |
288 |
|
linuxsampler_save_CFLAGS=$CFLAGS |
289 |
|
linuxsampler_save_LIBS=$LIBS |
290 |
|
CFLAGS="$JACK_CFLAGS $CFLAGS" |
291 |
|
LIBS="$JACK_LIBS $LIBS" |
292 |
|
AC_CHECK_HEADER(jack/midiport.h, have_jack_midi=1, have_jack_midi=0) |
293 |
|
if test $have_jack_midi = "1"; then |
294 |
|
AC_CHECK_FUNCS(jack_midi_get_event_count) |
295 |
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jack/midiport.h>]], [[ |
296 |
|
jack_midi_clear_buffer(0, 0); |
297 |
|
]])], [AC_DEFINE(JACK_MIDI_FUNCS_NEED_NFRAMES, 1, |
298 |
|
[Define to 1 if you have the old jack midi functions that need an nframes argument.])]) |
299 |
|
have_midi_input_driver="true" |
300 |
|
fi |
301 |
|
CFLAGS=$linuxsampler_save_CFLAGS |
302 |
|
LIBS=$linuxsampler_save_LIBS |
303 |
|
fi |
304 |
|
AM_CONDITIONAL(HAVE_JACK_MIDI, test $have_jack_midi = "1") |
305 |
|
AC_DEFINE_UNQUOTED(HAVE_JACK_MIDI, $have_jack_midi, |
306 |
|
[Define to 1 if you have JACK with MIDI support installed.]) |
307 |
|
|
308 |
# ARTS |
# ARTS |
309 |
AC_ARG_ENABLE(arts-driver, |
AC_ARG_ENABLE(arts-driver, |
310 |
[ --disable-arts-driver |
[ --disable-arts-driver |
440 |
if test "$have_midi_input_driver" = "false"; then |
if test "$have_midi_input_driver" = "false"; then |
441 |
echo "No supported MIDI input system found!" |
echo "No supported MIDI input system found!" |
442 |
echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:" |
echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:" |
443 |
echo "ALSA, MIDIShare, CoreMIDI." |
echo "ALSA, JACK, MIDIShare, CoreMIDI, MME." |
444 |
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" |
445 |
echo "also have the respective development (header) files installed." |
echo "also have the respective development (header) files installed." |
446 |
exit -1; |
exit -1; |
447 |
fi |
fi |
448 |
if test "$have_audio_output_driver" = "false"; then |
if test "$have_audio_output_driver" = "false"; then |
449 |
echo "No supported audio output system found!" |
echo "No supported audio output system found!" |
450 |
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" |
451 |
echo "driver at the moment!" |
echo "driver at the moment!" |
452 |
exit -1; |
exit -1; |
453 |
fi |
fi |
567 |
|
|
568 |
AC_ARG_ENABLE(pthread-testcancel, |
AC_ARG_ENABLE(pthread-testcancel, |
569 |
[ --enable-pthread-testcancel |
[ --enable-pthread-testcancel |
570 |
Enable pthread_testcancel() calls and avoid asynchronous |
Enable pthread_testcancel() calls and avoid asynchronous |
571 |
cancel of pthreads (default=no).], |
cancel of pthreads (default=no).], |
572 |
[config_pthread_testcancel="$enableval"], |
[config_pthread_testcancel="$enableval"], |
573 |
[config_pthread_testcancel="no"] |
[config_pthread_testcancel="no"] |
1125 |
AM_INIT_AUTOMAKE(linuxsampler, "$LINUXSAMPLER_RELEASE_MAJOR.$LINUXSAMPLER_RELEASE_MINOR.$LINUXSAMPLER_RELEASE_BUILD") |
AM_INIT_AUTOMAKE(linuxsampler, "$LINUXSAMPLER_RELEASE_MAJOR.$LINUXSAMPLER_RELEASE_MINOR.$LINUXSAMPLER_RELEASE_BUILD") |
1126 |
|
|
1127 |
AC_LANG_CPLUSPLUS |
AC_LANG_CPLUSPLUS |
|
AC_PROG_CXX |
|
1128 |
|
|
1129 |
# some gcc 4.0 versions need -msse for SSE register allocations |
# some gcc 4.0 versions need -msse for SSE register allocations |
1130 |
if test "$config_asm" = "yes"; then |
if test "$config_asm" = "yes"; then |
1147 |
src/engines/Makefile \ |
src/engines/Makefile \ |
1148 |
src/engines/gig/Makefile \ |
src/engines/gig/Makefile \ |
1149 |
src/engines/common/Makefile \ |
src/engines/common/Makefile \ |
1150 |
|
src/effects/Makefile \ |
1151 |
src/common/Makefile \ |
src/common/Makefile \ |
1152 |
src/testcases/Makefile \ |
src/testcases/Makefile \ |
1153 |
src/drivers/Makefile \ |
src/drivers/Makefile \ |