/[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 821 by wylder, Thu Dec 22 21:04:35 2005 UTC revision 849 by schoenebeck, Sat Mar 25 13:05:59 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 <feature.h>  # check for <features.h>
106  AC_CHECK_HEADERS(feature.h)  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)
# 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(process-all-notes-off,
731      [  --disable-process-all-notes-off
732                              Disable interpretation of All-Notes-Off MIDI
733                              messages (default=on). By default LS will release
734                              all voices whenever it receives an All-Notes-Off
735                              MIDI message. You can disable this behavior, so
736                              that LS simply ignores such messages.],
737      [config_process_all_notes_off="no"],
738      [config_process_all_notes_off="yes"]
739    )
740    if test "$config_process_all_notes_off" = "yes"; then
741      AC_DEFINE_UNQUOTED(CONFIG_PROCESS_ALL_NOTES_OFF, 1, [Define to 1 if you want to enable processing of All-Notes-Off MIDI messages.])
742    fi
743    
744    AC_ARG_ENABLE(interpolate-volume,
745      [  --disable-interpolate-volume
746                              Disable interpolation of volume modulation
747                              (default=on). With this enabled, the volume changes
748                              generated by for example the envelope generator
749                              will be smoother, minimizing the risk for audio
750                              clicks. Disable it to reduce CPU usage.],
751      [config_interpolate_volume="no"],
752      [config_interpolate_volume="yes"]
753    )
754    if test "$config_interpolate_volume" = "yes"; then
755      AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.])
756    fi
757    
758    
759  ###########################################################################  ###########################################################################
760  # 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 904  echo "# Voice Stealing Algorithm: ${conf
904  echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}"  echo "# Signed Triangular Oscillator Algorithm: ${config_signed_triang_algo}"
905  echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}"  echo "# Unsigned Triangular Oscillator Algorithm: ${config_unsigned_triang_algo}"
906  echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte"  echo "# SysEx Buffer Size: ${config_sysex_buffer_size} Byte"
907    echo "# Min. Portamento Time: ${config_portamento_time_min} s"
908    echo "# Max. Portamento Time: ${config_portamento_time_max} s"
909    echo "# Default Portamento Time: ${config_portamento_time_default} s"
910  echo "# Force Filter Usage: ${config_force_filter}"  echo "# Force Filter Usage: ${config_force_filter}"
911  echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz"  echo "# Filter Cutoff Minimum: ${config_filter_cutoff_min} Hz"
912  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 915  echo "# Override Filter Resonance Contro
915  echo "# Override Filter Type: ${config_override_filter_type}"  echo "# Override Filter Type: ${config_override_filter_type}"
916  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"
917  echo "# Process Muted Channels: ${config_process_muted_channels}"  echo "# Process Muted Channels: ${config_process_muted_channels}"
918    echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}"
919    echo "# Interpolate Volume: ${config_interpolate_volume}"
920  echo "#-------------------------------------------------------------------#"  echo "#-------------------------------------------------------------------#"
921  echo "# Read './configure --help' or file 'configure.in' for details.     #"  echo "# Read './configure --help' or file 'configure.in' for details.     #"
922  echo "#####################################################################"  echo "#####################################################################"

Legend:
Removed from v.821  
changed lines
  Added in v.849

  ViewVC Help
Powered by ViewVC