4 |
# LinuxSampler's / liblinuxsampler's "official" release version: |
# LinuxSampler's / liblinuxsampler's "official" release version: |
5 |
|
|
6 |
LINUXSAMPLER_RELEASE_MAJOR=0 |
LINUXSAMPLER_RELEASE_MAJOR=0 |
7 |
LINUXSAMPLER_RELEASE_MINOR=4 |
LINUXSAMPLER_RELEASE_MINOR=5 |
8 |
LINUXSAMPLER_RELEASE_BUILD=0.7cvs |
LINUXSAMPLER_RELEASE_BUILD=0 |
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 |
24 |
# 6. If any interfaces have been removed since the last public release, then set age |
# 6. If any interfaces have been removed since the last public release, then set age |
25 |
# to 0. |
# to 0. |
26 |
|
|
27 |
LIBLINUXSAMPLER_LT_CURRENT=0 |
LIBLINUXSAMPLER_LT_CURRENT=1 |
28 |
LIBLINUXSAMPLER_LT_REVISION=0 |
LIBLINUXSAMPLER_LT_REVISION=0 |
29 |
LIBLINUXSAMPLER_LT_AGE=0 |
LIBLINUXSAMPLER_LT_AGE=0 |
30 |
SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT_CURRENT:$LIBLINUXSAMPLER_LT_REVISION:$LIBLINUXSAMPLER_LT_AGE" |
SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT_CURRENT:$LIBLINUXSAMPLER_LT_REVISION:$LIBLINUXSAMPLER_LT_AGE" |
127 |
[ --disable-alsa-driver |
[ --disable-alsa-driver |
128 |
Disable support for the Advanced Linux Sound |
Disable support for the Advanced Linux Sound |
129 |
Architecture (ALSA).], |
Architecture (ALSA).], |
130 |
[config_alsa_driver="no"], |
[config_alsa_driver="$enableval"], |
131 |
[config_alsa_driver="yes"] |
[config_alsa_driver="yes"] |
132 |
) |
) |
133 |
have_alsa=0 |
have_alsa=0 |
207 |
[ --disable-jack-driver |
[ --disable-jack-driver |
208 |
Disable support for the Jack Audio Connection Kit |
Disable support for the Jack Audio Connection Kit |
209 |
(JACK).], |
(JACK).], |
210 |
[config_jack_driver="no"], |
[config_jack_driver="$enableval"], |
211 |
[config_jack_driver="yes"] |
[config_jack_driver="yes"] |
212 |
) |
) |
213 |
have_jack=0 |
have_jack=0 |
230 |
[ --disable-arts-driver |
[ --disable-arts-driver |
231 |
Disable support for the Analogue Realtime System |
Disable support for the Analogue Realtime System |
232 |
(aRts).], |
(aRts).], |
233 |
[config_arts_driver="no"], |
[config_arts_driver="$enableval"], |
234 |
[config_arts_driver="yes"] |
[config_arts_driver="yes"] |
235 |
) |
) |
236 |
have_arts=0 |
have_arts=0 |
251 |
AC_ARG_ENABLE(midishare-driver, |
AC_ARG_ENABLE(midishare-driver, |
252 |
[ --disable-midishare-driver |
[ --disable-midishare-driver |
253 |
Disable support for the MidiShare system.], |
Disable support for the MidiShare system.], |
254 |
[config_midishare_driver="no"], |
[config_midishare_driver="$enableval"], |
255 |
[config_midishare_driver="yes"] |
[config_midishare_driver="yes"] |
256 |
) |
) |
257 |
have_midishare=0 |
have_midishare=0 |
277 |
AC_ARG_ENABLE(coremidi-driver, |
AC_ARG_ENABLE(coremidi-driver, |
278 |
[ --disable-coremidi-driver |
[ --disable-coremidi-driver |
279 |
Disable support for the Apple CoreMIDI system.], |
Disable support for the Apple CoreMIDI system.], |
280 |
[config_coremidi_driver="no"], |
[config_coremidi_driver="$enableval"], |
281 |
[config_coremidi_driver="yes"] |
[config_coremidi_driver="yes"] |
282 |
) |
) |
283 |
have_coremidi=0 |
have_coremidi=0 |
295 |
AM_CONDITIONAL(HAVE_COREMIDI, test $have_coremidi = "1") |
AM_CONDITIONAL(HAVE_COREMIDI, test $have_coremidi = "1") |
296 |
AC_DEFINE_UNQUOTED(HAVE_COREMIDI,$have_coremidi,[Define to 1 if you have CoreMIDI installed.]) |
AC_DEFINE_UNQUOTED(HAVE_COREMIDI,$have_coremidi,[Define to 1 if you have CoreMIDI installed.]) |
297 |
|
|
298 |
|
# have we found at least one MIDI input and one audio output driver ? |
299 |
|
if test "$have_midi_input_driver" = "false"; then |
300 |
|
echo "No supported MIDI input system found!" |
301 |
|
echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:" |
302 |
|
echo "ALSA, MIDIShare, CoreMIDI." |
303 |
|
echo "If you think you have one of those available on your system, make sure you" |
304 |
|
echo "also have the respective development (header) files installed." |
305 |
|
exit -1; |
306 |
|
fi |
307 |
|
if test "$have_audio_output_driver" = "false"; then |
308 |
|
echo "No supported audio output system found!" |
309 |
|
echo "Sorry, LinuxSampler only supports ALSA, JACK and ARTS as audio output" |
310 |
|
echo "driver at the moment!" |
311 |
|
exit -1; |
312 |
|
fi |
313 |
|
|
314 |
|
|
315 |
|
|
316 |
|
########################################################################### |
317 |
|
# Checks for various DLL libraries |
318 |
|
|
319 |
# Check presence of libgig |
# Check presence of libgig |
320 |
libgig_version="3.1.1" |
libgig_version="3.2.0" |
321 |
PKG_CHECK_MODULES(GIG, gig >= $libgig_version, HAVE_GIG=true, HAVE_GIG=false) |
PKG_CHECK_MODULES(GIG, gig >= $libgig_version, HAVE_GIG=true, HAVE_GIG=false) |
322 |
if test "$HAVE_GIG" = "false"; then |
if test "$HAVE_GIG" = "false"; then |
323 |
echo "Required libgig version not found!" |
echo "Required libgig version not found!" |
329 |
AC_SUBST(GIG_CFLAGS) |
AC_SUBST(GIG_CFLAGS) |
330 |
AC_SUBST(GIG_LIBS) |
AC_SUBST(GIG_LIBS) |
331 |
|
|
332 |
# Check presence of sqlite3 |
# Instruments DB feature (requires SQLite 3.3) |
333 |
sqlite_version="3.3" |
AC_ARG_ENABLE(instruments-db, |
334 |
PKG_CHECK_MODULES(SQLITE3, sqlite3 >= $sqlite_version, HAVE_SQLITE3=true, HAVE_SQLITE3=false) |
[ --disable-instruments-db |
335 |
AC_SUBST(SQLITE3_LIBS) |
Disable compilation of the sampler's instruments |
336 |
AC_SUBST(SQLITE3_CFLAGS) |
database feature. You need to have SQLite 3.3 |
337 |
if test $HAVE_SQLITE3 = false; then |
or younger installed for this feature.], |
338 |
HAVE_SQLITE3=0; |
[config_instruments_db="$enableval"], |
339 |
instruments_db_support="no" |
[config_instruments_db="yes"] |
340 |
echo "*** Required sqlite version not found!" |
) |
341 |
echo "*** You need to have sqlite version ${sqlite_version} or higher" |
HAVE_SQLITE3=0; |
342 |
echo "*** for instruments database support to be enabled." |
if test "$config_instruments_db" = "yes"; then |
343 |
echo "*** Support for instruments DB will be disabled!" |
# Check presence of sqlite3 |
344 |
|
sqlite_version="3.3" |
345 |
|
PKG_CHECK_MODULES(SQLITE3, sqlite3 >= $sqlite_version, HAVE_SQLITE3=true, HAVE_SQLITE3=false) |
346 |
|
AC_SUBST(SQLITE3_LIBS) |
347 |
|
AC_SUBST(SQLITE3_CFLAGS) |
348 |
|
if test $HAVE_SQLITE3 = false; then |
349 |
|
HAVE_SQLITE3=0 |
350 |
|
config_instruments_db="no" |
351 |
|
echo "*** Required sqlite version not found!" |
352 |
|
echo "*** You need to have sqlite version ${sqlite_version} or higher" |
353 |
|
echo "*** for instruments database support to be enabled." |
354 |
|
echo "*** Support for instruments DB will be disabled!" |
355 |
|
else |
356 |
|
HAVE_SQLITE3=1 |
357 |
|
fi |
358 |
else |
else |
359 |
HAVE_SQLITE3=1 |
echo "Instruments DB feature disabled by configure script parameter" |
|
instruments_db_support="yes" |
|
360 |
fi |
fi |
361 |
AM_CONDITIONAL(HAVE_SQLITE3, test $HAVE_SQLITE3 = 1) |
AM_CONDITIONAL(HAVE_SQLITE3, test $HAVE_SQLITE3 = 1) |
362 |
AC_DEFINE_UNQUOTED(HAVE_SQLITE3,$HAVE_SQLITE3,[Define to 1 if you have SQLITE3 installed.]) |
AC_DEFINE_UNQUOTED(HAVE_SQLITE3,$HAVE_SQLITE3,[Define to 1 if you want the instruments DB feature and have SQLITE3 installed.]) |
363 |
|
|
|
if test "$have_midi_input_driver" = "false"; then |
|
|
echo "No supported MIDI input system found!" |
|
|
echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:" |
|
|
echo "ALSA, MIDIShare, CoreMIDI." |
|
|
echo "If you think you have one of those available on your system, make sure you" |
|
|
echo "also have the respective development (header) files installed." |
|
|
exit -1; |
|
|
fi |
|
|
if test "$have_audio_output_driver" = "false"; then |
|
|
echo "No supported audio output system found!" |
|
|
echo "Sorry, LinuxSampler only supports ALSA and JACK as audio output driver at the moment!" |
|
|
exit -1; |
|
|
fi |
|
364 |
|
|
365 |
|
|
366 |
########################################################################### |
########################################################################### |
376 |
to just enter a fast (denormal) FPU mode on x86 |
to just enter a fast (denormal) FPU mode on x86 |
377 |
platforms. There are currently no synthesis core |
platforms. There are currently no synthesis core |
378 |
assembly optimizations anymore since LS 0.4.0], |
assembly optimizations anymore since LS 0.4.0], |
379 |
[config_asm="no"], |
[config_asm="$enableval"], |
380 |
[config_asm="yes"] |
[config_asm="yes"] |
381 |
) |
) |
382 |
if test "$config_asm" = "yes"; then |
if test "$config_asm" = "yes"; then |
384 |
fi |
fi |
385 |
|
|
386 |
AC_ARG_ENABLE(dev-mode, |
AC_ARG_ENABLE(dev-mode, |
387 |
[ --disable-dev-mode |
[ --enable-dev-mode |
388 |
Disable development mode (default=on). In that mode |
Enable development mode (default=off). In that mode |
389 |
we do some extra sanity checks here and there. |
we do some extra sanity checks here and there. |
390 |
This helps to spot possible problems, but reduces |
This helps to spot possible problems, but reduces |
391 |
efficiency a bit], |
efficiency a bit], |
392 |
[config_dev_mode="no"], |
[config_dev_mode="$enableval"], |
393 |
[config_dev_mode="yes"] |
[config_dev_mode="no"] |
394 |
) |
) |
395 |
if test "$config_dev_mode" = "yes"; then |
if test "$config_dev_mode" = "yes"; then |
396 |
AC_DEFINE_UNQUOTED(CONFIG_DEVMODE, 1, [Define to 1 if you want to enable development mode.]) |
AC_DEFINE_UNQUOTED(CONFIG_DEVMODE, 1, [Define to 1 if you want to enable development mode.]) |
417 |
context as well. Otherwise if disabled |
context as well. Otherwise if disabled |
418 |
segmentation faults will be forced by the |
segmentation faults will be forced by the |
419 |
application on critical errors.], |
application on critical errors.], |
420 |
[config_rt_exceptions="yes"], |
[config_rt_exceptions="$enableval"], |
421 |
[config_rt_exceptions="no"] |
[config_rt_exceptions="no"] |
422 |
) |
) |
423 |
if test "$config_rt_exceptions" = "yes"; then |
if test "$config_rt_exceptions" = "yes"; then |
611 |
If enabled will force filter to be used even if |
If enabled will force filter to be used even if |
612 |
no usage was define in instrument patch files. |
no usage was define in instrument patch files. |
613 |
(default=no).], |
(default=no).], |
614 |
[config_force_filter="yes"], |
[config_force_filter="$enableval"], |
615 |
[config_force_filter="no"] |
[config_force_filter="no"] |
616 |
) |
) |
617 |
if test "$config_force_filter" = "yes"; then |
if test "$config_force_filter" = "yes"; then |
701 |
messages which do not provide a correct checksum |
messages which do not provide a correct checksum |
702 |
will be ignored. This is disabled by default as |
will be ignored. This is disabled by default as |
703 |
not all devices honor GS checksums.], |
not all devices honor GS checksums.], |
704 |
[config_assert_gs_sysex_checksum="yes"], |
[config_assert_gs_sysex_checksum="$enableval"], |
705 |
[config_assert_gs_sysex_checksum="no"] |
[config_assert_gs_sysex_checksum="no"] |
706 |
) |
) |
707 |
if test "config_assert_gs_sysex_checksum" = "yes"; then |
if test "config_assert_gs_sysex_checksum" = "yes"; then |
747 |
Similar to intmath but uses abs() function. |
Similar to intmath but uses abs() function. |
748 |
Depending on compiler and platrofm this could |
Depending on compiler and platrofm this could |
749 |
perform better than integer math as it avoids |
perform better than integer math as it avoids |
750 |
an extra integer multiply instruction. |
an extra integer multiply instruction. |
|
|
|
751 |
diharmonic: |
diharmonic: |
752 |
The triangular wave will be approximated by adding two |
The triangular wave will be approximated by adding two |
753 |
sinusoidials. This solution might especially hurt on |
sinusoidials. This solution might especially hurt on |
781 |
Similar to intmath but uses abs() function. |
Similar to intmath but uses abs() function. |
782 |
Depending on compiler and platrofm this could |
Depending on compiler and platrofm this could |
783 |
perform better than integer math as it avoids |
perform better than integer math as it avoids |
784 |
an extra integer multiply instruction. |
an extra integer multiply instruction. |
|
|
|
785 |
diharmonic: |
diharmonic: |
786 |
The triangular wave will be approximated by adding two |
The triangular wave will be approximated by adding two |
787 |
sinusoidials. This solution might especially hurt on |
sinusoidials. This solution might especially hurt on |
812 |
will not discard notes, triggered in mute mode, |
will not discard notes, triggered in mute mode, |
813 |
when the channel is unmuted. But also will reduce |
when the channel is unmuted. But also will reduce |
814 |
the efficiency.], |
the efficiency.], |
815 |
[config_process_muted_channels="yes"], |
[config_process_muted_channels="$enableval"], |
816 |
[config_process_muted_channels="no"] |
[config_process_muted_channels="no"] |
817 |
) |
) |
818 |
if test "$config_process_muted_channels" = "yes"; then |
if test "$config_process_muted_channels" = "yes"; then |
826 |
all voices whenever it receives an All-Notes-Off |
all voices whenever it receives an All-Notes-Off |
827 |
MIDI message. You can disable this behavior, so |
MIDI message. You can disable this behavior, so |
828 |
that LS simply ignores such messages.], |
that LS simply ignores such messages.], |
829 |
[config_process_all_notes_off="no"], |
[config_process_all_notes_off="$enableval"], |
830 |
[config_process_all_notes_off="yes"] |
[config_process_all_notes_off="yes"] |
831 |
) |
) |
832 |
if test "$config_process_all_notes_off" = "yes"; then |
if test "$config_process_all_notes_off" = "yes"; then |
840 |
generated by for example the envelope generator |
generated by for example the envelope generator |
841 |
will be smoother, minimizing the risk for audio |
will be smoother, minimizing the risk for audio |
842 |
clicks. Disable it to reduce CPU usage.], |
clicks. Disable it to reduce CPU usage.], |
843 |
[config_interpolate_volume="no"], |
[config_interpolate_volume="$enableval"], |
844 |
[config_interpolate_volume="yes"] |
[config_interpolate_volume="yes"] |
845 |
) |
) |
846 |
if test "$config_interpolate_volume" = "yes"; then |
if test "$config_interpolate_volume" = "yes"; then |
860 |
) |
) |
861 |
AC_SUBST(config_plugin_dir) |
AC_SUBST(config_plugin_dir) |
862 |
|
|
863 |
|
AC_ARG_ENABLE(default-instruments-db-location, |
864 |
|
[ --enable-default-instruments-db-location |
865 |
|
Only when instruments DB feature is enabled: file name |
866 |
|
which shall be taken as default location of the |
867 |
|
instruments DB file. This location can still be |
868 |
|
overridden at runtime with a command line switch. |
869 |
|
(default: /var/lib/linuxsampler/instruments.db)], |
870 |
|
[config_default_instruments_db_file="${enableval}"], |
871 |
|
[config_default_instruments_db_file="/var/lib/linuxsampler/instruments.db"] |
872 |
|
) |
873 |
|
AC_DEFINE_UNQUOTED( |
874 |
|
CONFIG_DEFAULT_INSTRUMENTS_DB_LOCATION, |
875 |
|
"$config_default_instruments_db_file", |
876 |
|
[Only when instruments DB feature is enabled: default location of the DB file.] |
877 |
|
) |
878 |
|
|
879 |
|
|
880 |
|
|
881 |
########################################################################### |
########################################################################### |
882 |
# Automatic Benchmarks (to detect the best algorithms for the system) |
# Automatic Benchmarks (to detect the best algorithms for the system) |
1001 |
src/drivers/Makefile \ |
src/drivers/Makefile \ |
1002 |
src/drivers/audio/Makefile \ |
src/drivers/audio/Makefile \ |
1003 |
src/drivers/midi/Makefile \ |
src/drivers/midi/Makefile \ |
1004 |
|
src/plugins/Makefile \ |
1005 |
linuxsampler.spec \ |
linuxsampler.spec \ |
1006 |
debian/Makefile \ |
debian/Makefile \ |
1007 |
Artwork/Makefile \ |
Artwork/Makefile \ |
1063 |
echo "# Process Muted Channels: ${config_process_muted_channels}" |
echo "# Process Muted Channels: ${config_process_muted_channels}" |
1064 |
echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}" |
echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}" |
1065 |
echo "# Interpolate Volume: ${config_interpolate_volume}" |
echo "# Interpolate Volume: ${config_interpolate_volume}" |
1066 |
echo "# Instruments database support: ${instruments_db_support}" |
echo "# Instruments database support: ${config_instruments_db}" |
1067 |
|
if test "$config_instruments_db" = "yes"; then |
1068 |
|
echo "# Instruments DB default location: ${config_default_instruments_db_file}" |
1069 |
|
fi |
1070 |
echo "# Plugin Path: ${config_plugin_dir}" |
echo "# Plugin Path: ${config_plugin_dir}" |
1071 |
echo "#-------------------------------------------------------------------#" |
echo "#-------------------------------------------------------------------#" |
1072 |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
echo "# Read './configure --help' or file 'configure.in' for details. #" |