/[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 1165 by schoenebeck, Thu May 3 18:09:02 2007 UTC revision 1321 by schoenebeck, Tue Sep 4 01:12:49 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 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="no"],
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 828  if test "$config_interpolate_volume" = " Line 828  if test "$config_interpolate_volume" = "
828    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.])
829  fi  fi
830    
831    AC_ARG_ENABLE(plugin-dir,
832      [  --enable-plugin-dir
833                              Directory where the sampler shall look for potential plugins,
834                              that is 3rd party shared libraries that should be loaded by
835                              the sampler on startup. By default the sampler will search
836                              for plugins in the subdirectory "plugins" below its own
837                              library directory.
838                              (i.e. /usr/local/lib/linuxsampler/plugins)],
839      [config_plugin_dir="${enableval}"],
840      [config_plugin_dir="${libdir}/linuxsampler/plugins"]
841    )
842    AC_SUBST(config_plugin_dir)
843    
844    
845  ###########################################################################  ###########################################################################
846  # 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 960  AC_OUTPUT( \
960      src/engines/Makefile \      src/engines/Makefile \
961      src/engines/gig/Makefile \      src/engines/gig/Makefile \
962      src/engines/common/Makefile \      src/engines/common/Makefile \
963      src/common/Makefile src/lib/Makefile \      src/common/Makefile \
     src/lib/fileloader/Makefile \  
     src/lib/fileloader/libgig/Makefile \  
964      src/testcases/Makefile \      src/testcases/Makefile \
965      src/drivers/Makefile \      src/drivers/Makefile \
966      src/drivers/audio/Makefile \      src/drivers/audio/Makefile \
# Line 959  AC_OUTPUT( \ Line 970  AC_OUTPUT( \
970      Artwork/Makefile \      Artwork/Makefile \
971      scripts/Makefile \      scripts/Makefile \
972      osx/Makefile \      osx/Makefile \
973      osx/LinuxSampler.xcode/Makefile \      osx/linuxsampler.xcodeproj/Makefile \
974      Documentation/Makefile \      Documentation/Makefile \
975      Documentation/Engines/Makefile \      Documentation/Engines/Makefile \
976      Documentation/Engines/gig/Makefile \      Documentation/Engines/gig/Makefile \
# Line 967  AC_OUTPUT( \ Line 978  AC_OUTPUT( \
978      Doxyfile \      Doxyfile \
979  )  )
980    
981    # resolve all nested variables in '${config_plugin_dir}'
982    # (merely for providing a human readable summary below)
983    while test $config_plugin_dir != `eval echo ${config_plugin_dir}` ; do
984            config_plugin_dir=`eval echo ${config_plugin_dir}`
985    done
986    
987    
988  ###########################################################################  ###########################################################################
989  # Output All Configuration Options  # Output All Configuration Options
# Line 1010  echo "# Process Muted Channels: ${config Line 1027  echo "# Process Muted Channels: ${config
1027  echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}"  echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}"
1028  echo "# Interpolate Volume: ${config_interpolate_volume}"  echo "# Interpolate Volume: ${config_interpolate_volume}"
1029  echo "# Instruments database support: ${instruments_db_support}"  echo "# Instruments database support: ${instruments_db_support}"
1030    echo "# Plugin Path: ${config_plugin_dir}"
1031  echo "#-------------------------------------------------------------------#"  echo "#-------------------------------------------------------------------#"
1032  echo "# Read './configure --help' or file 'configure.in' for details.     #"  echo "# Read './configure --help' or file 'configure.in' for details.     #"
1033  echo "#####################################################################"  echo "#####################################################################"

Legend:
Removed from v.1165  
changed lines
  Added in v.1321

  ViewVC Help
Powered by ViewVC