61 |
# determine the right gcc switch for CPU specific optimizations |
# determine the right gcc switch for CPU specific optimizations |
62 |
# (only if the user did not provide one) |
# (only if the user did not provide one) |
63 |
CXX_CPU_SWITCH= |
CXX_CPU_SWITCH= |
|
echo "X $CXXFLAGS " |
|
64 |
if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then |
if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then |
65 |
if test "$def_arch_x86" = 1; then |
if test "$def_arch_x86" = 1; then |
66 |
CXX_CPU_SWITCH="-march=$target_cpu" |
CXX_CPU_SWITCH="-march=$target_cpu" |
191 |
AM_CONDITIONAL(HAVE_JACK, test $HAVE_JACK = 1) |
AM_CONDITIONAL(HAVE_JACK, test $HAVE_JACK = 1) |
192 |
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.]) |
193 |
|
|
194 |
|
# ARTS |
195 |
|
|
196 |
|
m4_ifdef([m4_include(m4/arts.m4)],, |
197 |
|
[sinclude([m4/arts.m4])]) |
198 |
|
|
199 |
|
AM_PATH_ARTS(0.9.5, have_arts=1, have_arts=0) |
200 |
|
if test "$have_arts" = "1"; then |
201 |
|
have_audio_output_driver="true" |
202 |
|
fi |
203 |
|
AM_CONDITIONAL(HAVE_ARTS, test "$have_arts" = "1") |
204 |
|
AC_DEFINE_UNQUOTED(HAVE_ARTS,$have_arts,[Define to 1 if you have aRts installed.]) |
205 |
|
|
206 |
# MidiShare (Linux, OS X, Windows) |
# MidiShare (Linux, OS X, Windows) |
207 |
AC_CHECK_HEADER(MidiShare.h, |
AC_CHECK_HEADER(MidiShare.h, |
208 |
AC_CHECK_LIB(MidiShare, MidiCountEvs, |
AC_CHECK_LIB(MidiShare, MidiCountEvs, |
727 |
AC_DEFINE_UNQUOTED(CONFIG_PROCESS_MUTED_CHANNELS, 1, [Define to 1 if you want to enable processing of muted channels.]) |
AC_DEFINE_UNQUOTED(CONFIG_PROCESS_MUTED_CHANNELS, 1, [Define to 1 if you want to enable processing of muted channels.]) |
728 |
fi |
fi |
729 |
|
|
730 |
|
AC_ARG_ENABLE(process-all-notes-off, |
731 |
|
[ --disable-process-all-notes-off |
732 |
|
Disable interpretation of All-Notes-Off MIDI |
733 |
|
messages (default=on). By default LS will release |
734 |
|
all voices whenever it receives an All-Notes-Off |
735 |
|
MIDI message. You can disable this behavior, so |
736 |
|
that LS simply ignores such messages.], |
737 |
|
[config_process_all_notes_off="no"], |
738 |
|
[config_process_all_notes_off="yes"] |
739 |
|
) |
740 |
|
if test "$config_process_all_notes_off" = "yes"; then |
741 |
|
AC_DEFINE_UNQUOTED(CONFIG_PROCESS_ALL_NOTES_OFF, 1, [Define to 1 if you want to enable processing of All-Notes-Off MIDI messages.]) |
742 |
|
fi |
743 |
|
|
744 |
|
AC_ARG_ENABLE(interpolate-volume, |
745 |
|
[ --disable-interpolate-volume |
746 |
|
Disable interpolation of volume modulation |
747 |
|
(default=on). With this enabled, the volume changes |
748 |
|
generated by for example the envelope generator |
749 |
|
will be smoother, minimizing the risk for audio |
750 |
|
clicks. Disable it to reduce CPU usage.], |
751 |
|
[config_interpolate_volume="no"], |
752 |
|
[config_interpolate_volume="yes"] |
753 |
|
) |
754 |
|
if test "$config_interpolate_volume" = "yes"; then |
755 |
|
AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.]) |
756 |
|
fi |
757 |
|
|
758 |
|
|
759 |
########################################################################### |
########################################################################### |
760 |
# Automatic Benchmarks (to detect the best algorithms for the system) |
# Automatic Benchmarks (to detect the best algorithms for the system) |
915 |
echo "# Override Filter Type: ${config_override_filter_type}" |
echo "# Override Filter Type: ${config_override_filter_type}" |
916 |
echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}" |
echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}" |
917 |
echo "# Process Muted Channels: ${config_process_muted_channels}" |
echo "# Process Muted Channels: ${config_process_muted_channels}" |
918 |
|
echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}" |
919 |
|
echo "# Interpolate Volume: ${config_interpolate_volume}" |
920 |
echo "#-------------------------------------------------------------------#" |
echo "#-------------------------------------------------------------------#" |
921 |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
922 |
echo "#####################################################################" |
echo "#####################################################################" |