/[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 840 by persson, Sun Feb 26 13:00:08 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    
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,
# Line 599  if test "config_assert_gs_sysex_checksum Line 614  if test "config_assert_gs_sysex_checksum
614    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.])
615  fi  fi
616    
617    AC_ARG_ENABLE(portamento-time-min,
618      [  --enable-portamento-time-min
619                              Minimum Portamento time in seconds
620                              (default=0.1).],
621      [config_portamento_time_min="${enableval}"],
622      [config_portamento_time_min="0.1"]
623    )
624    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_MIN, $config_portamento_time_min, [Define min. portamento time.])
625    
626    AC_ARG_ENABLE(portamento-time-max,
627      [  --enable-portamento-time-max
628                              Maximum Portamento time in seconds
629                              (default=32).],
630      [config_portamento_time_max="${enableval}"],
631      [config_portamento_time_max="32"]
632    )
633    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_MAX, $config_portamento_time_max, [Define max. portamento time.])
634    
635    AC_ARG_ENABLE(portamento-time-default,
636      [  --enable-portamento-time-default
637                              Default Portamento time in seconds
638                              (default=1).],
639      [config_portamento_time_default="${enableval}"],
640      [config_portamento_time_default="1"]
641    )
642    AC_DEFINE_UNQUOTED(CONFIG_PORTAMENTO_TIME_DEFAULT, $config_portamento_time_default, [Define default portamento time.])
643    
644  AC_ARG_ENABLE(signed-triang-algo,  AC_ARG_ENABLE(signed-triang-algo,
645    [  --enable-signed-triang-algo    [  --enable-signed-triang-algo
646                            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 727  if test "$config_process_muted_channels"
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(interpolate-volume,
731      [  --disable-interpolate-volume
732                              Disable interpolation of volume modulation
733                              (default=on). With this enabled, the volume changes
734                              generated by for example the envelope generator
735                              will be smoother, minimizing the risk for audio
736                              clicks. Disable it to reduce CPU usage.],
737      [config_interpolate_volume="no"],
738      [config_interpolate_volume="yes"]
739    )
740    if test "$config_interpolate_volume" = "yes"; then
741      AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.])
742    fi
743    
744    
745  ###########################################################################  ###########################################################################
746  # 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 890  echo "# Voice Stealing Algorithm: ${conf
890  echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}"  echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}"
891  echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}"  echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}"
892  echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte"  echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte"
893    echo "# Min. Portamento Time: ${config_portamento_time_min} s"
894    echo "# Max. Portamento Time: ${config_portamento_time_max} s"
895    echo "# Default Portamento Time: ${config_portamento_time_default} s"
896  echo "# Force Filter Usage: ${config_force_filter}"  echo "# Force Filter Usage: ${config_force_filter}"
897  echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz"  echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz"
898  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 901  echo "# Override Filter Resonance Contro
901  echo "# Override Filter Type: ${config_override_filter_type}"  echo "# Override Filter Type: ${config_override_filter_type}"
902  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"
903  echo "# Process Muted Channels: ${config_process_muted_channels}"  echo "# Process Muted Channels: ${config_process_muted_channels}"
904    echo "# Interpolate Volume: ${config_interpolate_volume}"
905  echo "#-------------------------------------------------------------------#"  echo "#-------------------------------------------------------------------#"
906  echo "# Read './configure --help' or file 'configure.in' for details.     #"  echo "# Read './configure --help' or file 'configure.in' for details.     #"
907  echo "#####################################################################"  echo "#####################################################################"

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

  ViewVC Help
Powered by ViewVC