/[svn]/linuxsampler/trunk/configure.in
ViewVC logotype

Diff of /linuxsampler/trunk/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 738 by schoenebeck, Tue Aug 16 17:14:25 2005 UTC revision 832 by persson, Sun Feb 5 10:24:05 2006 UTC
# Line 5  AC_INIT(configure.in) Line 5  AC_INIT(configure.in)
5    
6  LINUXSAMPLER_RELEASE_MAJOR=0  LINUXSAMPLER_RELEASE_MAJOR=0
7  LINUXSAMPLER_RELEASE_MINOR=3  LINUXSAMPLER_RELEASE_MINOR=3
8  LINUXSAMPLER_RELEASE_BUILD=3  LINUXSAMPLER_RELEASE_BUILD=3cvs
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
# Line 59  esac Line 59  esac
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  if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then
65    CXX_CPU_SWITCH="-march=$target_cpu"    if test "$def_arch_x86" = 1; then
66  elif test "$target_cpu" = "powerpc"; then      CXX_CPU_SWITCH="-march=$target_cpu"
67    CXX_CPU_SWITCH="-arch=$target_cpu"    elif test "$target_cpu" = "powerpc"; then
68        CXX_CPU_SWITCH="-arch=$target_cpu"
69      fi
70  fi  fi
71  AC_SUBST([CXX_CPU_SWITCH])  AC_SUBST([CXX_CPU_SWITCH])
72    
# Line 99  if test "$have_unix98" = "no"; then Line 102  if test "$have_unix98" = "no"; then
102      fi      fi
103  fi  fi
104    
105    # check for <features.h>
106    AC_CHECK_HEADERS(features.h)
107    
108  # Checks for available audio and MIDI systems / drivers  # Checks for available audio and MIDI systems / drivers
109  # (we throw an error if there's not at least one system for audio output and MIDI input available)  # (we throw an error if there's not at least one system for audio output and MIDI input available)
110  have_midi_input_driver="false"  have_midi_input_driver="false"
# Line 451  AC_ARG_ENABLE(subfragment-size, Line 457  AC_ARG_ENABLE(subfragment-size,
457  )  )
458  AC_DEFINE_UNQUOTED(CONFIG_DEFAULT_SUBFRAGMENT_SIZE, $config_subfragment_size, [Define default subfragment size (in sample points).])  AC_DEFINE_UNQUOTED(CONFIG_DEFAULT_SUBFRAGMENT_SIZE, $config_subfragment_size, [Define default subfragment size (in sample points).])
459    
460    AC_ARG_ENABLE(global-attenuation,
461      [  --enable-global-attenuation
462                              To prevent clipping all samples will be lowered
463                              in amplitude by this given factor.
464                              (default=0.35)],
465      [config_global_attenuation="${enableval}"],
466      [config_global_attenuation="0.35"]
467    )
468    AC_DEFINE_UNQUOTED(CONFIG_GLOBAL_ATTENUATION, $config_global_attenuation, [Define global volume attenuation (as floating point factor).])
469    
470  AC_ARG_ENABLE(voice-steal-algo,  AC_ARG_ENABLE(voice-steal-algo,
471    [  --enable-voice-steal-algo    [  --enable-voice-steal-algo
472                            Voice stealing algorithm to be used. Currently                            Voice stealing algorithm to be used. Currently
# Line 586  if test "config_assert_gs_sysex_checksum Line 602  if test "config_assert_gs_sysex_checksum
602    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.])
603  fi  fi
604    
605    AC_ARG_ENABLE(portamento-time-min,
606      [  --enable-portamento-time-min
607                              Minimum Portamento time in seconds
608                              (default=0.1).],
609      [config_portamento_time_min="${enableval}"],
610      [config_portamento_time_min="0.1"]
611    )
612    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_MIN, $config_portamento_time_min, [Define min. portamento time.])
613    
614    AC_ARG_ENABLE(portamento-time-max,
615      [  --enable-portamento-time-max
616                              Maximum Portamento time in seconds
617                              (default=32).],
618      [config_portamento_time_max="${enableval}"],
619      [config_portamento_time_max="32"]
620    )
621    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_MAX, $config_portamento_time_max, [Define max. portamento time.])
622    
623    AC_ARG_ENABLE(portamento-time-default,
624      [  --enable-portamento-time-default
625                              Default Portamento time in seconds
626                              (default=1).],
627      [config_portamento_time_default="${enableval}"],
628      [config_portamento_time_default="1"]
629    )
630    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_DEFAULT, $config_portamento_time_default, [Define default portamento time.])
631    
632  AC_ARG_ENABLE(signed-triang-algo,  AC_ARG_ENABLE(signed-triang-algo,
633    [  --enable-signed-triang-algo    [  --enable-signed-triang-algo
634                            Signed triangular wave algorithm to be used (e.g. for LFOs).                            Signed triangular wave algorithm to be used (e.g. for LFOs).
# Line 672  if test "$config_process_muted_channels" Line 715  if test "$config_process_muted_channels"
715    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.])
716  fi  fi
717    
718    AC_ARG_ENABLE(interpolate-volume,
719      [  --disable-interpolate-volume
720                              Disable interpolation of volume modulation
721                              (default=on). With this enabled, the volume changes
722                              generated by for example the envelope generator
723                              will be smoother, minimizing the risk for audio
724                              clicks. Disable it to reduce CPU usage.],
725      [config_interpolate_volume="no"],
726      [config_interpolate_volume="yes"]
727    )
728    if test "$config_interpolate_volume" = "yes"; then
729      AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.])
730    fi
731    
732    
733  ###########################################################################  ###########################################################################
734  # Automatic Benchmarks (to detect the best algorithms for the system)  # Automatic Benchmarks (to detect the best algorithms for the system)
# Line 816  echo "# Stream Size: ${config_stream_siz Line 873  echo "# Stream Size: ${config_stream_siz
873  echo "# Maximum Disk Streams: ${config_max_streams}"  echo "# Maximum Disk Streams: ${config_max_streams}"
874  echo "# Maximum Voices: ${config_max_voices}"  echo "# Maximum Voices: ${config_max_voices}"
875  echo "# Default Subfragment Size: ${config_subfragment_size}"  echo "# Default Subfragment Size: ${config_subfragment_size}"
876    echo "# Global Volume Attenuation: ${config_global_attenuation}"
877  echo "# Voice Stealing Algorithm: ${config_voice_steal_algo}"  echo "# Voice Stealing Algorithm: ${config_voice_steal_algo}"
878  echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}"  echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}"
879  echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}"  echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}"
880  echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte"  echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte"
881    echo "# Min. Portamento Time: ${config_portamento_time_min} s"
882    echo "# Max. Portamento Time: ${config_portamento_time_max} s"
883    echo "# Default Portamento Time: ${config_portamento_time_default} s"
884  echo "# Force Filter Usage: ${config_force_filter}"  echo "# Force Filter Usage: ${config_force_filter}"
885  echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz"  echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz"
886  echo "# Filter Cutoff Maximum: ${config_filter_cutoff_max} Hz"  echo "# Filter Cutoff Maximum: ${config_filter_cutoff_max} Hz"
# Line 828  echo "# Override Filter Resonance Contro Line 889  echo "# Override Filter Resonance Contro
889  echo "# Override Filter Type: ${config_override_filter_type}"  echo "# Override Filter Type: ${config_override_filter_type}"
890  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"
891  echo "# Process Muted Channels: ${config_process_muted_channels}"  echo "# Process Muted Channels: ${config_process_muted_channels}"
892    echo "# Interpolate Volume: ${config_interpolate_volume}"
893  echo "#-------------------------------------------------------------------#"  echo "#-------------------------------------------------------------------#"
894  echo "# Read './configure --help' or file 'configure.in' for details.     #"  echo "# Read './configure --help' or file 'configure.in' for details.     #"
895  echo "#####################################################################"  echo "#####################################################################"

Legend:
Removed from v.738  
changed lines
  Added in v.832

  ViewVC Help
Powered by ViewVC