5 |
|
|
6 |
LINUXSAMPLER_RELEASE_MAJOR=0 |
LINUXSAMPLER_RELEASE_MAJOR=0 |
7 |
LINUXSAMPLER_RELEASE_MINOR=5 |
LINUXSAMPLER_RELEASE_MINOR=5 |
8 |
LINUXSAMPLER_RELEASE_BUILD=1.7cvs |
LINUXSAMPLER_RELEASE_BUILD=1.9cvs |
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 |
62 |
AC_MSG_CHECKING([whether x86 architecture]) |
AC_MSG_CHECKING([whether x86 architecture]) |
63 |
def_arch_x86=0 |
def_arch_x86=0 |
64 |
case $target_cpu in |
case $target_cpu in |
65 |
"i386" | "i486" | "i586" | "i686" | "i786") |
"i386" | "i486" | "i586" | "i686" | "i786" | "x86_64") |
66 |
echo "yes" |
echo "yes" |
67 |
def_arch_x86=1;; |
def_arch_x86=1;; |
68 |
*) |
*) |
74 |
# (only if the user did not provide one) |
# (only if the user did not provide one) |
75 |
CXX_CPU_SWITCH= |
CXX_CPU_SWITCH= |
76 |
if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then |
if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then |
77 |
if test "$def_arch_x86" = 1; then |
if test "$def_arch_x86" = 1 -a "$target_cpu" != "x86_64"; then |
78 |
CXX_CPU_SWITCH="-march=$target_cpu" |
CXX_CPU_SWITCH="-march=$target_cpu" |
79 |
elif test "$target_cpu" = "ppc"; then |
elif test "$target_cpu" = "ppc"; then |
80 |
CXX_CPU_SWITCH="-arch=$target_cpu" |
CXX_CPU_SWITCH="-arch=$target_cpu" |
415 |
AM_CONDITIONAL(HAVE_COREMIDI, test $have_coremidi = "1") |
AM_CONDITIONAL(HAVE_COREMIDI, test $have_coremidi = "1") |
416 |
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.]) |
417 |
|
|
418 |
|
# CoreAudio (OS X) |
419 |
|
AC_ARG_ENABLE(coreaudio-driver, |
420 |
|
[ --disable-coreaudio-driver |
421 |
|
Disable support for the Apple CoreAudio system.], |
422 |
|
[config_coreaudio_driver="$enableval"], |
423 |
|
[config_coreaudio_driver="yes"] |
424 |
|
) |
425 |
|
have_coreaudio=0 |
426 |
|
if test "$config_coreaudio_driver" = "yes"; then |
427 |
|
AC_CHECK_HEADER(CoreAudio/CoreAudio.h, |
428 |
|
have_coreaudio=1, |
429 |
|
have_coreaudio=0 |
430 |
|
) |
431 |
|
if test "$have_coreaudio" = "1"; then |
432 |
|
have_audio_output_driver="true" |
433 |
|
fi |
434 |
|
else |
435 |
|
echo "CoreAudio support disabled by configure script parameter" |
436 |
|
fi |
437 |
|
AM_CONDITIONAL(HAVE_COREAUDIO, test $have_coreaudio = "1") |
438 |
|
AC_DEFINE_UNQUOTED(HAVE_COREAUDIO,$have_coreaudio,[Define to 1 if you have CoreAudio installed.]) |
439 |
|
|
440 |
# MME MIDI (Win32) |
# MME MIDI (Win32) |
441 |
AC_ARG_ENABLE(mmemidi-driver, |
AC_ARG_ENABLE(mmemidi-driver, |
442 |
[ --disable-mmemidi-driver |
[ --disable-mmemidi-driver |
731 |
|
|
732 |
AC_ARG_ENABLE(max-streams, |
AC_ARG_ENABLE(max-streams, |
733 |
[ --enable-max-streams |
[ --enable-max-streams |
734 |
Maximum amount of disk streams (default=90). This |
Initial maximum amount of disk streams |
735 |
value should always be higher than the maximum |
(default=90). This value can be changed at |
736 |
amount of voices.], |
runtime. It should always be higher than the |
737 |
|
maximum amount of voices.], |
738 |
[config_max_streams="${enableval}"], |
[config_max_streams="${enableval}"], |
739 |
[config_max_streams="90"] |
[config_max_streams="90"] |
740 |
) |
) |
741 |
AC_DEFINE_UNQUOTED(CONFIG_MAX_STREAMS, $config_max_streams, [Define max. streams.]) |
AC_DEFINE_UNQUOTED(CONFIG_DEFAULT_MAX_STREAMS, $config_max_streams, [Define initial max. streams.]) |
742 |
|
|
743 |
AC_ARG_ENABLE(max-voices, |
AC_ARG_ENABLE(max-voices, |
744 |
[ --enable-max-voices |
[ --enable-max-voices |
745 |
Maximum amount of voices (default=64). This value |
Initial maximum amount of voices (default=64). |
746 |
should always be lower than the maximum amount of |
This value can be changed at runtime. It should |
747 |
disk streams.], |
always be lower than the maximum amount of disk |
748 |
|
streams.], |
749 |
[config_max_voices="${enableval}"], |
[config_max_voices="${enableval}"], |
750 |
[config_max_voices="64"] |
[config_max_voices="64"] |
751 |
) |
) |
752 |
AC_DEFINE_UNQUOTED(CONFIG_MAX_VOICES, $config_max_voices, [Define max. voices.]) |
AC_DEFINE_UNQUOTED(CONFIG_DEFAULT_MAX_VOICES, $config_max_voices, [Define initial max. voices.]) |
753 |
|
|
754 |
AC_ARG_ENABLE(subfragment-size, |
AC_ARG_ENABLE(subfragment-size, |
755 |
[ --enable-subfragment-size |
[ --enable-subfragment-size |
1266 |
echo "# Minimum Stream Refill Size: ${config_stream_min_refill}" |
echo "# Minimum Stream Refill Size: ${config_stream_min_refill}" |
1267 |
echo "# Maximum Stream Refill Size: ${config_stream_max_refill}" |
echo "# Maximum Stream Refill Size: ${config_stream_max_refill}" |
1268 |
echo "# Stream Size: ${config_stream_size}" |
echo "# Stream Size: ${config_stream_size}" |
1269 |
echo "# Maximum Disk Streams: ${config_max_streams}" |
echo "# Default Maximum Disk Streams: ${config_max_streams}" |
1270 |
echo "# Maximum Voices: ${config_max_voices}" |
echo "# Default Maximum Voices: ${config_max_voices}" |
1271 |
echo "# Default Subfragment Size: ${config_subfragment_size}" |
echo "# Default Subfragment Size: ${config_subfragment_size}" |
1272 |
echo "# Default Global Volume Attenuation: ${config_global_attenuation_default}" |
echo "# Default Global Volume Attenuation: ${config_global_attenuation_default}" |
1273 |
echo "# Voice Stealing Algorithm: ${config_voice_steal_algo}" |
echo "# Voice Stealing Algorithm: ${config_voice_steal_algo}" |