3 |
|
|
4 |
m4_define(linuxsampler_release_major, 1) |
m4_define(linuxsampler_release_major, 1) |
5 |
m4_define(linuxsampler_release_minor, 0) |
m4_define(linuxsampler_release_minor, 0) |
6 |
m4_define(linuxsampler_release_build, 0.svn18) |
m4_define(linuxsampler_release_build, 0.svn58) |
7 |
|
|
8 |
|
|
9 |
AC_INIT([linuxsampler],[linuxsampler_release_major.linuxsampler_release_minor.linuxsampler_release_build]) |
AC_INIT([linuxsampler],[linuxsampler_release_major.linuxsampler_release_minor.linuxsampler_release_build]) |
35 |
# the LSCP specification version this LinuSampler release complies with: |
# the LSCP specification version this LinuSampler release complies with: |
36 |
|
|
37 |
LSCP_RELEASE_MAJOR=1 |
LSCP_RELEASE_MAJOR=1 |
38 |
LSCP_RELEASE_MINOR=5 |
LSCP_RELEASE_MINOR=6 |
39 |
|
|
40 |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.]) |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.]) |
41 |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.]) |
AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.]) |
42 |
|
|
43 |
|
AM_INIT_AUTOMAKE([subdir-objects]) |
44 |
|
AC_PROG_CC |
45 |
AC_PROG_CXX |
AC_PROG_CXX |
46 |
AC_LIBTOOL_WIN32_DLL |
AC_LIBTOOL_WIN32_DLL |
47 |
AC_PROG_LIBTOOL |
AC_PROG_LIBTOOL |
48 |
|
AC_PROG_LEX |
49 |
|
AC_PROG_YACC |
50 |
|
|
51 |
AC_SUBST(SHLIB_VERSION_ARG) |
AC_SUBST(SHLIB_VERSION_ARG) |
52 |
AC_SUBST(SHARED_VERSION_INFO) |
AC_SUBST(SHARED_VERSION_INFO) |
186 |
AC_CHECK_HEADERS(uuid/uuid.h) |
AC_CHECK_HEADERS(uuid/uuid.h) |
187 |
AC_SEARCH_LIBS(uuid_generate, uuid) |
AC_SEARCH_LIBS(uuid_generate, uuid) |
188 |
|
|
189 |
|
# In case Bison is available, determine the exact version, since we need to |
190 |
|
# use different custom parser code for Bison 2.x vs. Bison 3.x generated |
191 |
|
# parser yacc tables. |
192 |
|
if echo "$YACC" | grep -q bison; then |
193 |
|
# NOTE: m4 removes [], that's why it needs to be escaped |
194 |
|
bison_version=[`$YACC --version | head -n 1 | sed -e 's/[^0-9.]*\([-0-9.]\+\)$/\1/'`] |
195 |
|
bison_version_major=`echo $bison_version | cut -d. -f1` |
196 |
|
bison_version_minor=`echo $bison_version | cut -d. -f2` |
197 |
|
AC_DEFINE_UNQUOTED(HAVE_BISON_MAJ,$bison_version_major,[Define to the major version of the GNU Bison program installed.]) |
198 |
|
AC_DEFINE_UNQUOTED(HAVE_BISON_MIN,$bison_version_minor,[Define to the minor version of the GNU Bison program installed.]) |
199 |
|
fi |
200 |
|
|
201 |
|
|
202 |
|
|
203 |
########################################################################### |
########################################################################### |
306 |
AC_SUBST(JACK_CFLAGS) |
AC_SUBST(JACK_CFLAGS) |
307 |
linuxsampler_save_LIBS=$LIBS |
linuxsampler_save_LIBS=$LIBS |
308 |
LIBS="$JACK_LIBS $LIBS" |
LIBS="$JACK_LIBS $LIBS" |
309 |
AC_CHECK_FUNCS(jack_client_name_size jack_client_open) |
AC_CHECK_FUNCS(jack_client_name_size jack_client_open \ |
310 |
|
jack_on_info_shutdown) |
311 |
LIBS=$linuxsampler_save_LIBS |
LIBS=$linuxsampler_save_LIBS |
312 |
have_audio_output_driver="true"; |
have_audio_output_driver="true"; |
313 |
fi |
fi |
644 |
AC_SUBST(SNDFILE_CFLAGS) |
AC_SUBST(SNDFILE_CFLAGS) |
645 |
AC_SUBST(SNDFILE_LIBS) |
AC_SUBST(SNDFILE_LIBS) |
646 |
|
|
647 |
# Check for Vorbis support in libsndfile |
# Check for Vorbis and FLAC support in libsndfile |
648 |
linuxsampler_save_CFLAGS=$CFLAGS |
linuxsampler_save_CFLAGS=$CFLAGS |
649 |
CFLAGS="$SNDFILE_CFLAGS $CFLAGS" |
CFLAGS="$SNDFILE_CFLAGS $CFLAGS" |
650 |
AC_CHECK_DECLS([SF_FORMAT_VORBIS], [], [], [[#include <sndfile.h>]]) |
AC_CHECK_DECLS([SF_FORMAT_VORBIS, SF_FORMAT_FLAC], [], [], [[#include <sndfile.h>]]) |
651 |
|
|
652 |
# Check for loop functionality in libsndfile |
# Check for loop functionality in libsndfile |
653 |
AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],, |
AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],, |
1326 |
# Create Build Files |
# Create Build Files |
1327 |
|
|
1328 |
AC_CONFIG_HEADERS([config.h]) |
AC_CONFIG_HEADERS([config.h]) |
|
AM_INIT_AUTOMAKE |
|
1329 |
|
|
1330 |
AC_LANG([C++]) |
AC_LANG([C++]) |
1331 |
|
|
1337 |
Makefile \ |
Makefile \ |
1338 |
man/Makefile \ |
man/Makefile \ |
1339 |
man/linuxsampler.1 \ |
man/linuxsampler.1 \ |
1340 |
|
man/lscp.1 \ |
1341 |
src/Makefile \ |
src/Makefile \ |
1342 |
src/db/Makefile \ |
src/db/Makefile \ |
1343 |
src/network/Makefile \ |
src/network/Makefile \ |
1359 |
src/hostplugins/lv2/manifest.ttl \ |
src/hostplugins/lv2/manifest.ttl \ |
1360 |
src/hostplugins/vst/Makefile \ |
src/hostplugins/vst/Makefile \ |
1361 |
src/hostplugins/au/Makefile \ |
src/hostplugins/au/Makefile \ |
1362 |
|
src/scriptvm/Makefile \ |
1363 |
|
src/shell/Makefile \ |
1364 |
linuxsampler.spec \ |
linuxsampler.spec \ |
1365 |
debian/Makefile \ |
debian/Makefile \ |
1366 |
Artwork/Makefile \ |
Artwork/Makefile \ |