59 |
AC_DEFINE_UNQUOTED(ARCH_X86,$def_arch_x86,[Define to 1 if you build for x86 architecture.]) |
AC_DEFINE_UNQUOTED(ARCH_X86,$def_arch_x86,[Define to 1 if you build for x86 architecture.]) |
60 |
|
|
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) |
63 |
CXX_CPU_SWITCH= |
CXX_CPU_SWITCH= |
64 |
if test "$def_arch_x86" = 1; then |
echo "X $CXXFLAGS " |
65 |
CXX_CPU_SWITCH="-march=$target_cpu" |
if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then |
66 |
elif test "$target_cpu" = "powerpc"; then |
if test "$def_arch_x86" = 1; then |
67 |
CXX_CPU_SWITCH="-arch=$target_cpu" |
CXX_CPU_SWITCH="-march=$target_cpu" |
68 |
|
elif test "$target_cpu" = "powerpc"; then |
69 |
|
CXX_CPU_SWITCH="-arch=$target_cpu" |
70 |
|
fi |
71 |
fi |
fi |
72 |
AC_SUBST([CXX_CPU_SWITCH]) |
AC_SUBST([CXX_CPU_SWITCH]) |
73 |
|
|
603 |
AC_DEFINE_UNQUOTED(CONFIG_ASSERT_GS_SYSEX_CHECKSUM, 1, [Define to 1 if you want to enable GS SysEx check.]) |
AC_DEFINE_UNQUOTED(CONFIG_ASSERT_GS_SYSEX_CHECKSUM, 1, [Define to 1 if you want to enable GS SysEx check.]) |
604 |
fi |
fi |
605 |
|
|
606 |
|
AC_ARG_ENABLE(portamento-time-min, |
607 |
|
[ --enable-portamento-time-min |
608 |
|
Minimum Portamento time in seconds |
609 |
|
(default=0.1).], |
610 |
|
[config_portamento_time_min="${enableval}"], |
611 |
|
[config_portamento_time_min="0.1"] |
612 |
|
) |
613 |
|
AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_MIN, $config_portamento_time_min, [Define min. portamento time.]) |
614 |
|
|
615 |
|
AC_ARG_ENABLE(portamento-time-max, |
616 |
|
[ --enable-portamento-time-max |
617 |
|
Maximum Portamento time in seconds |
618 |
|
(default=32).], |
619 |
|
[config_portamento_time_max="${enableval}"], |
620 |
|
[config_portamento_time_max="32"] |
621 |
|
) |
622 |
|
AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_MAX, $config_portamento_time_max, [Define max. portamento time.]) |
623 |
|
|
624 |
|
AC_ARG_ENABLE(portamento-time-default, |
625 |
|
[ --enable-portamento-time-default |
626 |
|
Default Portamento time in seconds |
627 |
|
(default=1).], |
628 |
|
[config_portamento_time_default="${enableval}"], |
629 |
|
[config_portamento_time_default="1"] |
630 |
|
) |
631 |
|
AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_DEFAULT, $config_portamento_time_default, [Define default portamento time.]) |
632 |
|
|
633 |
AC_ARG_ENABLE(signed-triang-algo, |
AC_ARG_ENABLE(signed-triang-algo, |
634 |
[ --enable-signed-triang-algo |
[ --enable-signed-triang-algo |
635 |
Signed triangular wave algorithm to be used (e.g. for LFOs). |
Signed triangular wave algorithm to be used (e.g. for LFOs). |
716 |
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.]) |
717 |
fi |
fi |
718 |
|
|
719 |
|
AC_ARG_ENABLE(interpolate-volume, |
720 |
|
[ --disable-interpolate-volume |
721 |
|
Disable interpolation of volume modulation |
722 |
|
(default=on). With this enabled, the volume changes |
723 |
|
generated by for example the envelope generator |
724 |
|
will be smoother, minimizing the risk for audio |
725 |
|
clicks. Disable it to reduce CPU usage.], |
726 |
|
[config_interpolate_volume="no"], |
727 |
|
[config_interpolate_volume="yes"] |
728 |
|
) |
729 |
|
if test "$config_interpolate_volume" = "yes"; then |
730 |
|
AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.]) |
731 |
|
fi |
732 |
|
|
733 |
|
|
734 |
########################################################################### |
########################################################################### |
735 |
# Automatic Benchmarks (to detect the best algorithms for the system) |
# Automatic Benchmarks (to detect the best algorithms for the system) |
879 |
echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}" |
echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}" |
880 |
echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}" |
echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}" |
881 |
echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte" |
echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte" |
882 |
|
echo "# Min. Portamento Time: ${config_portamento_time_min} s" |
883 |
|
echo "# Max. Portamento Time: ${config_portamento_time_max} s" |
884 |
|
echo "# Default Portamento Time: ${config_portamento_time_default} s" |
885 |
echo "# Force Filter Usage: ${config_force_filter}" |
echo "# Force Filter Usage: ${config_force_filter}" |
886 |
echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz" |
echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz" |
887 |
echo "# Filter Cutoff Maximum: ${config_filter_cutoff_max} Hz" |
echo "# Filter Cutoff Maximum: ${config_filter_cutoff_max} Hz" |
890 |
echo "# Override Filter Type: ${config_override_filter_type}" |
echo "# Override Filter Type: ${config_override_filter_type}" |
891 |
echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}" |
echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}" |
892 |
echo "# Process Muted Channels: ${config_process_muted_channels}" |
echo "# Process Muted Channels: ${config_process_muted_channels}" |
893 |
|
echo "# Interpolate Volume: ${config_interpolate_volume}" |
894 |
echo "#-------------------------------------------------------------------#" |
echo "#-------------------------------------------------------------------#" |
895 |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
896 |
echo "#####################################################################" |
echo "#####################################################################" |