/[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 826 by schoenebeck, Sun Jan 8 20:19:49 2006 UTC revision 838 by schoenebeck, Fri Feb 10 14:57:40 2006 UTC
# 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 188  fi Line 191  fi
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    sinclude([m4/arts.m4])
196    AM_PATH_ARTS(0.9.5, have_arts=1, have_arts=0)
197    if test "$have_arts" = "1"; then
198        have_audio_output_driver="true"
199    fi
200    AM_CONDITIONAL(HAVE_ARTS, test "$have_arts" = "1")
201    AC_DEFINE_UNQUOTED(HAVE_ARTS,$have_arts,[Define to 1 if you have aRts installed.])
202    
203  # MidiShare (Linux, OS X, Windows)  # MidiShare (Linux, OS X, Windows)
204  AC_CHECK_HEADER(MidiShare.h,  AC_CHECK_HEADER(MidiShare.h,
205      AC_CHECK_LIB(MidiShare, MidiCountEvs,      AC_CHECK_LIB(MidiShare, MidiCountEvs,
# Line 599  if test "config_assert_gs_sysex_checksum Line 611  if test "config_assert_gs_sysex_checksum
611    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.])
612  fi  fi
613    
614    AC_ARG_ENABLE(portamento-time-min,
615      [  --enable-portamento-time-min
616                              Minimum Portamento time in seconds
617                              (default=0.1).],
618      [config_portamento_time_min="${enableval}"],
619      [config_portamento_time_min="0.1"]
620    )
621    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_MIN, $config_portamento_time_min, [Define min. portamento time.])
622    
623    AC_ARG_ENABLE(portamento-time-max,
624      [  --enable-portamento-time-max
625                              Maximum Portamento time in seconds
626                              (default=32).],
627      [config_portamento_time_max="${enableval}"],
628      [config_portamento_time_max="32"]
629    )
630    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_MAX, $config_portamento_time_max, [Define max. portamento time.])
631    
632    AC_ARG_ENABLE(portamento-time-default,
633      [  --enable-portamento-time-default
634                              Default Portamento time in seconds
635                              (default=1).],
636      [config_portamento_time_default="${enableval}"],
637      [config_portamento_time_default="1"]
638    )
639    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_DEFAULT, $config_portamento_time_default, [Define default portamento time.])
640    
641  AC_ARG_ENABLE(signed-triang-algo,  AC_ARG_ENABLE(signed-triang-algo,
642    [  --enable-signed-triang-algo    [  --enable-signed-triang-algo
643                            Signed triangular wave algorithm to be used (e.g. for LFOs).                            Signed triangular wave algorithm to be used (e.g. for LFOs).
# Line 685  if test "$config_process_muted_channels" Line 724  if test "$config_process_muted_channels"
724    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.])
725  fi  fi
726    
727    AC_ARG_ENABLE(interpolate-volume,
728      [  --disable-interpolate-volume
729                              Disable interpolation of volume modulation
730                              (default=on). With this enabled, the volume changes
731                              generated by for example the envelope generator
732                              will be smoother, minimizing the risk for audio
733                              clicks. Disable it to reduce CPU usage.],
734      [config_interpolate_volume="no"],
735      [config_interpolate_volume="yes"]
736    )
737    if test "$config_interpolate_volume" = "yes"; then
738      AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.])
739    fi
740    
741    
742  ###########################################################################  ###########################################################################
743  # Automatic Benchmarks (to detect the best algorithms for the system)  # Automatic Benchmarks (to detect the best algorithms for the system)
# Line 834  echo "# Voice Stealing Algorithm: ${conf Line 887  echo "# Voice Stealing Algorithm: ${conf
887  echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}"  echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}"
888  echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}"  echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}"
889  echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte"  echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte"
890    echo "# Min. Portamento Time: ${config_portamento_time_min} s"
891    echo "# Max. Portamento Time: ${config_portamento_time_max} s"
892    echo "# Default Portamento Time: ${config_portamento_time_default} s"
893  echo "# Force Filter Usage: ${config_force_filter}"  echo "# Force Filter Usage: ${config_force_filter}"
894  echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz"  echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz"
895  echo "# Filter Cutoff Maximum: ${config_filter_cutoff_max} Hz"  echo "# Filter Cutoff Maximum: ${config_filter_cutoff_max} Hz"
# Line 842  echo "# Override Filter Resonance Contro Line 898  echo "# Override Filter Resonance Contro
898  echo "# Override Filter Type: ${config_override_filter_type}"  echo "# Override Filter Type: ${config_override_filter_type}"
899  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"
900  echo "# Process Muted Channels: ${config_process_muted_channels}"  echo "# Process Muted Channels: ${config_process_muted_channels}"
901    echo "# Interpolate Volume: ${config_interpolate_volume}"
902  echo "#-------------------------------------------------------------------#"  echo "#-------------------------------------------------------------------#"
903  echo "# Read './configure --help' or file 'configure.in' for details.     #"  echo "# Read './configure --help' or file 'configure.in' for details.     #"
904  echo "#####################################################################"  echo "#####################################################################"

Legend:
Removed from v.826  
changed lines
  Added in v.838

  ViewVC Help
Powered by ViewVC