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.5cvs |
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 |
308 |
AC_SUBST(GIG_CFLAGS) |
AC_SUBST(GIG_CFLAGS) |
309 |
AC_SUBST(GIG_LIBS) |
AC_SUBST(GIG_LIBS) |
310 |
|
|
311 |
# SQLITE3 |
# Check presence of sqlite3 |
312 |
PKG_CHECK_MODULES(SQLITE3, sqlite3, HAVE_SQLITE3=true, HAVE_SQLITE3=false) |
sqlite_version="3.3" |
313 |
|
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 = false; then |
if test $HAVE_SQLITE3 = false; then |
317 |
HAVE_SQLITE3=0; |
HAVE_SQLITE3=0; |
318 |
echo "no, support for instrument DB will be disabled!" |
instruments_db_support="no" |
319 |
|
echo "*** Required sqlite version not found!" |
320 |
|
echo "*** You need to have sqlite version ${sqlite_version} or higher" |
321 |
|
echo "*** for instruments database support to be enabled." |
322 |
|
echo "*** Support for instruments DB will be disabled!" |
323 |
else |
else |
324 |
HAVE_SQLITE3=1 |
HAVE_SQLITE3=1 |
325 |
echo "yes" |
instruments_db_support="yes" |
326 |
fi |
fi |
327 |
AM_CONDITIONAL(HAVE_SQLITE3, test $HAVE_SQLITE3 = 1) |
AM_CONDITIONAL(HAVE_SQLITE3, test $HAVE_SQLITE3 = 1) |
328 |
AC_DEFINE_UNQUOTED(HAVE_SQLITE3,$HAVE_SQLITE3,[Define to 1 if you have SQLITE3 installed.]) |
AC_DEFINE_UNQUOTED(HAVE_SQLITE3,$HAVE_SQLITE3,[Define to 1 if you have SQLITE3 installed.]) |
827 |
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.]) |
828 |
fi |
fi |
829 |
|
|
830 |
|
AC_ARG_ENABLE(plugin-dir, |
831 |
|
[ --enable-plugin-dir |
832 |
|
Directory where the sampler shall look for potential plugins, |
833 |
|
that is 3rd party shared libraries that should be loaded by |
834 |
|
the sampler on startup. By default the sampler will search |
835 |
|
for plugins in the subdirectory "plugins" below its own |
836 |
|
library directory. |
837 |
|
(i.e. /usr/local/lib/linuxsampler/plugins)], |
838 |
|
[config_plugin_dir="${enableval}"], |
839 |
|
[config_plugin_dir="${libdir}/linuxsampler/plugins"] |
840 |
|
) |
841 |
|
AC_SUBST(config_plugin_dir) |
842 |
|
|
843 |
|
|
844 |
########################################################################### |
########################################################################### |
845 |
# Automatic Benchmarks (to detect the best algorithms for the system) |
# Automatic Benchmarks (to detect the best algorithms for the system) |
874 |
echo "Call './configure --help' for further information or read configure.in." |
echo "Call './configure --help' for further information or read configure.in." |
875 |
exit -1; |
exit -1; |
876 |
fi |
fi |
877 |
|
else |
878 |
|
case "$config_signed_triang_algo" in |
879 |
|
intmath) |
880 |
|
triang_signed=2 ;; |
881 |
|
diharmonic) |
882 |
|
triang_signed=3 ;; |
883 |
|
intmathabs) |
884 |
|
triang_signed=5 ;; |
885 |
|
esac |
886 |
fi |
fi |
887 |
AC_DEFINE_UNQUOTED(CONFIG_SIGNED_TRIANG_ALGO, ${triang_signed}, [Define signed triangular wave algorithm to be used.]) |
AC_DEFINE_UNQUOTED(CONFIG_SIGNED_TRIANG_ALGO, ${triang_signed}, [Define signed triangular wave algorithm to be used.]) |
888 |
|
|
914 |
echo "Call './configure --help' for further information or read configure.in." |
echo "Call './configure --help' for further information or read configure.in." |
915 |
exit -1; |
exit -1; |
916 |
fi |
fi |
917 |
|
else |
918 |
|
case "$config_unsigned_triang_algo" in |
919 |
|
intmath) |
920 |
|
triang_unsigned=2 ;; |
921 |
|
diharmonic) |
922 |
|
triang_unsigned=3 ;; |
923 |
|
intmathabs) |
924 |
|
triang_unsigned=5 ;; |
925 |
|
esac |
926 |
fi |
fi |
927 |
AC_DEFINE_UNQUOTED(CONFIG_UNSIGNED_TRIANG_ALGO, ${triang_unsigned}, [Define unsigned triangular wave algorithm to be used.]) |
AC_DEFINE_UNQUOTED(CONFIG_UNSIGNED_TRIANG_ALGO, ${triang_unsigned}, [Define unsigned triangular wave algorithm to be used.]) |
928 |
|
|
954 |
man/Makefile \ |
man/Makefile \ |
955 |
man/linuxsampler.1 \ |
man/linuxsampler.1 \ |
956 |
src/Makefile \ |
src/Makefile \ |
957 |
|
src/db/Makefile \ |
958 |
src/network/Makefile \ |
src/network/Makefile \ |
959 |
src/engines/Makefile \ |
src/engines/Makefile \ |
960 |
src/engines/gig/Makefile \ |
src/engines/gig/Makefile \ |
971 |
Artwork/Makefile \ |
Artwork/Makefile \ |
972 |
scripts/Makefile \ |
scripts/Makefile \ |
973 |
osx/Makefile \ |
osx/Makefile \ |
974 |
osx/LinuxSampler.xcode/Makefile \ |
osx/linuxsampler.xcodeproj/Makefile \ |
975 |
Documentation/Makefile \ |
Documentation/Makefile \ |
976 |
Documentation/Engines/Makefile \ |
Documentation/Engines/Makefile \ |
977 |
Documentation/Engines/gig/Makefile \ |
Documentation/Engines/gig/Makefile \ |
979 |
Doxyfile \ |
Doxyfile \ |
980 |
) |
) |
981 |
|
|
982 |
|
# resolve all nested variables in '${config_plugin_dir}' |
983 |
|
# (merely for providing a human readable summary below) |
984 |
|
while test $config_plugin_dir != `eval echo ${config_plugin_dir}` ; do |
985 |
|
config_plugin_dir=`eval echo ${config_plugin_dir}` |
986 |
|
done |
987 |
|
|
988 |
|
|
989 |
########################################################################### |
########################################################################### |
990 |
# Output All Configuration Options |
# Output All Configuration Options |
1027 |
echo "# Process Muted Channels: ${config_process_muted_channels}" |
echo "# Process Muted Channels: ${config_process_muted_channels}" |
1028 |
echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}" |
echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}" |
1029 |
echo "# Interpolate Volume: ${config_interpolate_volume}" |
echo "# Interpolate Volume: ${config_interpolate_volume}" |
1030 |
|
echo "# Instruments database support: ${instruments_db_support}" |
1031 |
|
echo "# Plugin Path: ${config_plugin_dir}" |
1032 |
echo "#-------------------------------------------------------------------#" |
echo "#-------------------------------------------------------------------#" |
1033 |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
echo "# Read './configure --help' or file 'configure.in' for details. #" |
1034 |
echo "#####################################################################" |
echo "#####################################################################" |