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.6cvs |
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 |
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!" |
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, |
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) |
972 |
Artwork/Makefile \ |
Artwork/Makefile \ |
973 |
scripts/Makefile \ |
scripts/Makefile \ |
974 |
osx/Makefile \ |
osx/Makefile \ |
975 |
osx/LinuxSampler.xcode/Makefile \ |
osx/linuxsampler.xcodeproj/Makefile \ |
976 |
Documentation/Makefile \ |
Documentation/Makefile \ |
977 |
Documentation/Engines/Makefile \ |
Documentation/Engines/Makefile \ |
978 |
Documentation/Engines/gig/Makefile \ |
Documentation/Engines/gig/Makefile \ |
980 |
Doxyfile \ |
Doxyfile \ |
981 |
) |
) |
982 |
|
|
983 |
|
# resolve all nested variables in '${config_plugin_dir}' |
984 |
|
# (merely for providing a human readable summary below) |
985 |
|
while test $config_plugin_dir != `eval echo ${config_plugin_dir}` ; do |
986 |
|
config_plugin_dir=`eval echo ${config_plugin_dir}` |
987 |
|
done |
988 |
|
|
989 |
|
|
990 |
########################################################################### |
########################################################################### |
991 |
# Output All Configuration Options |
# Output All Configuration Options |
1029 |
echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}" |
echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}" |
1030 |
echo "# Interpolate Volume: ${config_interpolate_volume}" |
echo "# Interpolate Volume: ${config_interpolate_volume}" |
1031 |
echo "# Instruments database support: ${instruments_db_support}" |
echo "# Instruments database support: ${instruments_db_support}" |
1032 |
|
echo "# Plugin Path: ${config_plugin_dir}" |
1033 |
echo "#-------------------------------------------------------------------#" |
echo "#-------------------------------------------------------------------#" |
1034 |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
1035 |
echo "#####################################################################" |
echo "#####################################################################" |