/[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 1175 by schoenebeck, Sun May 6 16:38:35 2007 UTC revision 1360 by schoenebeck, Sun Sep 30 20:04:11 2007 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=4  LINUXSAMPLER_RELEASE_MINOR=4
8  LINUXSAMPLER_RELEASE_BUILD=0.4cvs  LINUXSAMPLER_RELEASE_BUILD=0.7cvs
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 127  AC_ARG_ENABLE(alsa-driver, Line 127  AC_ARG_ENABLE(alsa-driver,
127    [  --disable-alsa-driver    [  --disable-alsa-driver
128                            Disable support for the Advanced Linux Sound                            Disable support for the Advanced Linux Sound
129                            Architecture (ALSA).],                            Architecture (ALSA).],
130    [config_alsa_driver="no"],    [config_alsa_driver="$enableval"],
131    [config_alsa_driver="yes"]    [config_alsa_driver="yes"]
132  )  )
133  have_alsa=0  have_alsa=0
# Line 207  AC_ARG_ENABLE(jack-driver, Line 207  AC_ARG_ENABLE(jack-driver,
207    [  --disable-jack-driver    [  --disable-jack-driver
208                            Disable support for the Jack Audio Connection Kit                            Disable support for the Jack Audio Connection Kit
209                            (JACK).],                            (JACK).],
210    [config_jack_driver="no"],    [config_jack_driver="$enableval"],
211    [config_jack_driver="yes"]    [config_jack_driver="yes"]
212  )  )
213  have_jack=0  have_jack=0
# Line 230  AC_ARG_ENABLE(arts-driver, Line 230  AC_ARG_ENABLE(arts-driver,
230    [  --disable-arts-driver    [  --disable-arts-driver
231                            Disable support for the Analogue Realtime System                            Disable support for the Analogue Realtime System
232                            (aRts).],                            (aRts).],
233    [config_arts_driver="no"],    [config_arts_driver="$enableval"],
234    [config_arts_driver="yes"]    [config_arts_driver="yes"]
235  )  )
236  have_arts=0  have_arts=0
# Line 251  AC_DEFINE_UNQUOTED(HAVE_ARTS,$have_arts, Line 251  AC_DEFINE_UNQUOTED(HAVE_ARTS,$have_arts,
251  AC_ARG_ENABLE(midishare-driver,  AC_ARG_ENABLE(midishare-driver,
252    [  --disable-midishare-driver    [  --disable-midishare-driver
253                            Disable support for the MidiShare system.],                            Disable support for the MidiShare system.],
254    [config_midishare_driver="no"],    [config_midishare_driver="$enableval"],
255    [config_midishare_driver="yes"]    [config_midishare_driver="yes"]
256  )  )
257  have_midishare=0  have_midishare=0
# Line 277  AC_DEFINE_UNQUOTED(HAVE_MIDISHARE,$have_ Line 277  AC_DEFINE_UNQUOTED(HAVE_MIDISHARE,$have_
277  AC_ARG_ENABLE(coremidi-driver,  AC_ARG_ENABLE(coremidi-driver,
278    [  --disable-coremidi-driver    [  --disable-coremidi-driver
279                            Disable support for the Apple CoreMIDI system.],                            Disable support for the Apple CoreMIDI system.],
280    [config_coremidi_driver="no"],    [config_coremidi_driver="$enableval"],
281    [config_coremidi_driver="yes"]    [config_coremidi_driver="yes"]
282  )  )
283  have_coremidi=0  have_coremidi=0
# Line 309  AC_SUBST(GIG_CFLAGS) Line 309  AC_SUBST(GIG_CFLAGS)
309  AC_SUBST(GIG_LIBS)  AC_SUBST(GIG_LIBS)
310    
311  # Check presence of sqlite3  # Check presence of sqlite3
 AC_CHECK_PROG(HAVE_SQLITE3_CMD, sqlite3, true, false)  
312  sqlite_version="3.3"  sqlite_version="3.3"
313  PKG_CHECK_MODULES(SQLITE3, sqlite3 >= $sqlite_version, HAVE_SQLITE3=true, HAVE_SQLITE3=false)  PKG_CHECK_MODULES(SQLITE3, sqlite3 >= $sqlite_version, HAVE_SQLITE3=true, HAVE_SQLITE3=false)
314  AC_SUBST(SQLITE3_LIBS)  AC_SUBST(SQLITE3_LIBS)
315  AC_SUBST(SQLITE3_CFLAGS)  AC_SUBST(SQLITE3_CFLAGS)
316  if test $HAVE_SQLITE3_CMD = false -o $HAVE_SQLITE3 = false; then  if test $HAVE_SQLITE3 = false; then
317      HAVE_SQLITE3=0;      HAVE_SQLITE3=0;
318      instruments_db_support="no"      instruments_db_support="no"
319      echo "*** Required sqlite version not found!"      echo "*** Required sqlite version not found!"
# Line 349  fi Line 348  fi
348  # TODO: should we use AC_ARG_VAR(variable, description) instead?  # TODO: should we use AC_ARG_VAR(variable, description) instead?
349    
350  AC_ARG_ENABLE(asm,  AC_ARG_ENABLE(asm,
351    [  --enable-asm    [  --disable-asm
352                            Enable hand-crafted assembly optimizations                            Enable hand-crafted assembly optimizations
353                            (default=off). LinuxSampler provides CPU specific                            (default=on). LinuxSampler provides CPU specific
354                            assembly optimizations for the most important                            assembly optimizations. This is currently limited
355                            synthesis algorithms. This is currently disabled                            to just enter a fast (denormal) FPU mode on x86
356                            by default since current asm code is broken.],                            platforms. There are currently no synthesis core
357    [config_asm="yes"],                            assembly optimizations anymore since LS 0.4.0],
358    [config_asm="no"]    [config_asm="$enableval"],
359      [config_asm="yes"]
360  )  )
361  if test "$config_asm" = "yes"; then  if test "$config_asm" = "yes"; then
362    AC_DEFINE_UNQUOTED(CONFIG_ASM, 1, [Define to 1 if you want to enable hand-crafted asm optimizations.])    AC_DEFINE_UNQUOTED(CONFIG_ASM, 1, [Define to 1 if you want to enable asm optimizations.])
363  fi  fi
364    
365  AC_ARG_ENABLE(dev-mode,  AC_ARG_ENABLE(dev-mode,
# Line 368  AC_ARG_ENABLE(dev-mode, Line 368  AC_ARG_ENABLE(dev-mode,
368                            we do some extra sanity checks here and there.                            we do some extra sanity checks here and there.
369                            This helps to spot possible problems, but reduces                            This helps to spot possible problems, but reduces
370                            efficiency a bit],                            efficiency a bit],
371    [config_dev_mode="no"],    [config_dev_mode="$enableval"],
372    [config_dev_mode="yes"]    [config_dev_mode="yes"]
373  )  )
374  if test "$config_dev_mode" = "yes"; then  if test "$config_dev_mode" = "yes"; then
# Line 396  AC_ARG_ENABLE(rt-exceptions, Line 396  AC_ARG_ENABLE(rt-exceptions,
396                            context as well. Otherwise if disabled                            context as well. Otherwise if disabled
397                            segmentation faults will be forced by the                            segmentation faults will be forced by the
398                            application on critical errors.],                            application on critical errors.],
399    [config_rt_exceptions="yes"],    [config_rt_exceptions="$enableval"],
400    [config_rt_exceptions="no"]    [config_rt_exceptions="no"]
401  )  )
402  if test "$config_rt_exceptions" = "yes"; then  if test "$config_rt_exceptions" = "yes"; then
# Line 590  AC_ARG_ENABLE(force-filter, Line 590  AC_ARG_ENABLE(force-filter,
590                            If enabled will force filter to be used even if                            If enabled will force filter to be used even if
591                            no usage was define in instrument patch files.                            no usage was define in instrument patch files.
592                            (default=no).],                            (default=no).],
593    [config_force_filter="yes"],    [config_force_filter="$enableval"],
594    [config_force_filter="no"]    [config_force_filter="no"]
595  )  )
596  if test "$config_force_filter" = "yes"; then  if test "$config_force_filter" = "yes"; then
# Line 680  AC_ARG_ENABLE(gs-checksum, Line 680  AC_ARG_ENABLE(gs-checksum,
680                            messages which do not provide a correct checksum                            messages which do not provide a correct checksum
681                            will be ignored. This is disabled by default as                            will be ignored. This is disabled by default as
682                            not all devices honor GS checksums.],                            not all devices honor GS checksums.],
683    [config_assert_gs_sysex_checksum="yes"],    [config_assert_gs_sysex_checksum="$enableval"],
684    [config_assert_gs_sysex_checksum="no"]    [config_assert_gs_sysex_checksum="no"]
685  )  )
686  if test "config_assert_gs_sysex_checksum" = "yes"; then  if test "config_assert_gs_sysex_checksum" = "yes"; then
# Line 726  AC_ARG_ENABLE(signed-triang-algo, Line 726  AC_ARG_ENABLE(signed-triang-algo,
726                                Similar to intmath but uses abs() function.                                Similar to intmath but uses abs() function.
727                                Depending on compiler and platrofm this could                                Depending on compiler and platrofm this could
728                                perform better than integer math as it avoids                                perform better than integer math as it avoids
729                                an extra integer multiply instruction.                                an extra integer multiply instruction.
   
730                              diharmonic:                              diharmonic:
731                                The triangular wave will be approximated by adding two                                The triangular wave will be approximated by adding two
732                                sinusoidials. This solution might especially hurt on                                sinusoidials. This solution might especially hurt on
# Line 761  AC_ARG_ENABLE(unsigned-triang-algo, Line 760  AC_ARG_ENABLE(unsigned-triang-algo,
760                                Similar to intmath but uses abs() function.                                Similar to intmath but uses abs() function.
761                                Depending on compiler and platrofm this could                                Depending on compiler and platrofm this could
762                                perform better than integer math as it avoids                                perform better than integer math as it avoids
763                                an extra integer multiply instruction.                                an extra integer multiply instruction.
   
764                              diharmonic:                              diharmonic:
765                                The triangular wave will be approximated by adding two                                The triangular wave will be approximated by adding two
766                                sinusoidials. This solution might especially hurt on                                sinusoidials. This solution might especially hurt on
# Line 793  AC_ARG_ENABLE(process-muted-channels, Line 791  AC_ARG_ENABLE(process-muted-channels,
791                            will not discard notes, triggered in mute mode,                            will not discard notes, triggered in mute mode,
792                            when the channel is unmuted. But also will reduce                            when the channel is unmuted. But also will reduce
793                            the efficiency.],                            the efficiency.],
794    [config_process_muted_channels="yes"],    [config_process_muted_channels="$enableval"],
795    [config_process_muted_channels="no"]    [config_process_muted_channels="no"]
796  )  )
797  if test "$config_process_muted_channels" = "yes"; then  if test "$config_process_muted_channels" = "yes"; then
# Line 807  AC_ARG_ENABLE(process-all-notes-off, Line 805  AC_ARG_ENABLE(process-all-notes-off,
805                            all voices whenever it receives an All-Notes-Off                            all voices whenever it receives an All-Notes-Off
806                            MIDI message. You can disable this behavior, so                            MIDI message. You can disable this behavior, so
807                            that LS simply ignores such messages.],                            that LS simply ignores such messages.],
808    [config_process_all_notes_off="no"],    [config_process_all_notes_off="$enableval"],
809    [config_process_all_notes_off="yes"]    [config_process_all_notes_off="yes"]
810  )  )
811  if test "$config_process_all_notes_off" = "yes"; then  if test "$config_process_all_notes_off" = "yes"; then
# Line 821  AC_ARG_ENABLE(interpolate-volume, Line 819  AC_ARG_ENABLE(interpolate-volume,
819                            generated by for example the envelope generator                            generated by for example the envelope generator
820                            will be smoother, minimizing the risk for audio                            will be smoother, minimizing the risk for audio
821                            clicks. Disable it to reduce CPU usage.],                            clicks. Disable it to reduce CPU usage.],
822    [config_interpolate_volume="no"],    [config_interpolate_volume="$enableval"],
823    [config_interpolate_volume="yes"]    [config_interpolate_volume="yes"]
824  )  )
825  if test "$config_interpolate_volume" = "yes"; then  if test "$config_interpolate_volume" = "yes"; then
826    AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.])    AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.])
827  fi  fi
828    
829    AC_ARG_ENABLE(plugin-dir,
830      [  --enable-plugin-dir
831                              Directory where the sampler shall look for potential plugins,
832                              that is 3rd party shared libraries that should be loaded by
833                              the sampler on startup. By default the sampler will search
834                              for plugins in the subdirectory "plugins" below its own
835                              library directory.
836                              (i.e. /usr/local/lib/linuxsampler/plugins)],
837      [config_plugin_dir="${enableval}"],
838      [config_plugin_dir="${libdir}/linuxsampler/plugins"]
839    )
840    AC_SUBST(config_plugin_dir)
841    
842    
843  ###########################################################################  ###########################################################################
844  # Automatic Benchmarks (to detect the best algorithms for the system)  # Automatic Benchmarks (to detect the best algorithms for the system)
# Line 947  AC_OUTPUT( \ Line 958  AC_OUTPUT( \
958      src/engines/Makefile \      src/engines/Makefile \
959      src/engines/gig/Makefile \      src/engines/gig/Makefile \
960      src/engines/common/Makefile \      src/engines/common/Makefile \
961      src/common/Makefile src/lib/Makefile \      src/common/Makefile \
     src/lib/fileloader/Makefile \  
     src/lib/fileloader/libgig/Makefile \  
962      src/testcases/Makefile \      src/testcases/Makefile \
963      src/drivers/Makefile \      src/drivers/Makefile \
964      src/drivers/audio/Makefile \      src/drivers/audio/Makefile \
# Line 967  AC_OUTPUT( \ Line 976  AC_OUTPUT( \
976      Doxyfile \      Doxyfile \
977  )  )
978    
979    # resolve all nested variables in '${config_plugin_dir}'
980    # (merely for providing a human readable summary below)
981    while test $config_plugin_dir != `eval echo ${config_plugin_dir}` ; do
982            config_plugin_dir=`eval echo ${config_plugin_dir}`
983    done
984    
985    
986  ###########################################################################  ###########################################################################
987  # Output All Configuration Options  # Output All Configuration Options
# Line 1010  echo "# Process Muted Channels: ${config Line 1025  echo "# Process Muted Channels: ${config
1025  echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}"  echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}"
1026  echo "# Interpolate Volume: ${config_interpolate_volume}"  echo "# Interpolate Volume: ${config_interpolate_volume}"
1027  echo "# Instruments database support: ${instruments_db_support}"  echo "# Instruments database support: ${instruments_db_support}"
1028    echo "# Plugin Path: ${config_plugin_dir}"
1029  echo "#-------------------------------------------------------------------#"  echo "#-------------------------------------------------------------------#"
1030  echo "# Read './configure --help' or file 'configure.in' for details.     #"  echo "# Read './configure --help' or file 'configure.in' for details.     #"
1031  echo "#####################################################################"  echo "#####################################################################"

Legend:
Removed from v.1175  
changed lines
  Added in v.1360

  ViewVC Help
Powered by ViewVC