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.svn21) |
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]) |
10 |
AC_CONFIG_SRCDIR([configure.in]) |
AC_CONFIG_SRCDIR([configure.ac]) |
11 |
|
|
12 |
#------------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------------ |
13 |
# 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 |
126 |
) |
) |
127 |
AC_LANG_POP([C]) |
AC_LANG_POP([C]) |
128 |
AC_MSG_RESULT([$have_unix98]) |
AC_MSG_RESULT([$have_unix98]) |
129 |
if test "$have_unix98" = "no" -a "$have_windows" = "0"; then |
if test "$have_unix98" = "no" -a "$have_windows" = "0" -a "$mac" = "no" ; then |
130 |
if test "x$HAVE_UNIX98" = "x"; then |
if test "x$HAVE_UNIX98" = "x"; then |
131 |
echo "LinuxSampler only runs on UNIX98 compatible systems, which is mandatory for" |
echo "LinuxSampler only runs on UNIX98 compatible systems, which is mandatory for" |
132 |
echo "pthread_mutexattr_settype() call in Mutex.cpp. You may want to run" |
echo "pthread_mutexattr_settype() call in Mutex.cpp. You may want to run" |
627 |
AC_SUBST(SNDFILE_CFLAGS) |
AC_SUBST(SNDFILE_CFLAGS) |
628 |
AC_SUBST(SNDFILE_LIBS) |
AC_SUBST(SNDFILE_LIBS) |
629 |
|
|
630 |
# Check for Vorbis support in libsndfile |
# Check for Vorbis and FLAC support in libsndfile |
631 |
linuxsampler_save_CFLAGS=$CFLAGS |
linuxsampler_save_CFLAGS=$CFLAGS |
632 |
CFLAGS="$SNDFILE_CFLAGS $CFLAGS" |
CFLAGS="$SNDFILE_CFLAGS $CFLAGS" |
633 |
AC_CHECK_DECLS([SF_FORMAT_VORBIS], [], [], [[#include <sndfile.h>]]) |
AC_CHECK_DECLS([SF_FORMAT_VORBIS, SF_FORMAT_FLAC], [], [], [[#include <sndfile.h>]]) |
634 |
|
|
635 |
# Check for loop functionality in libsndfile |
# Check for loop functionality in libsndfile |
636 |
AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],, |
AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],, |