2 |
# LinuxSampler's / liblinuxsampler's "official" release version: |
# LinuxSampler's / liblinuxsampler's "official" release version: |
3 |
|
|
4 |
m4_define(linuxsampler_release_major, 2) |
m4_define(linuxsampler_release_major, 2) |
5 |
m4_define(linuxsampler_release_minor, 0) |
m4_define(linuxsampler_release_minor, 1) |
6 |
m4_define(linuxsampler_release_build, 0.svn25) |
m4_define(linuxsampler_release_build, 0.svn5) |
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]) |
26 |
# 6. If any interfaces have been removed since the last public release, then set age |
# 6. If any interfaces have been removed since the last public release, then set age |
27 |
# to 0. |
# to 0. |
28 |
|
|
29 |
LIBLINUXSAMPLER_LT_CURRENT=4 |
LIBLINUXSAMPLER_LT_CURRENT=5 |
30 |
LIBLINUXSAMPLER_LT_REVISION=0 |
LIBLINUXSAMPLER_LT_REVISION=0 |
31 |
LIBLINUXSAMPLER_LT_AGE=0 |
LIBLINUXSAMPLER_LT_AGE=0 |
32 |
SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT_CURRENT:$LIBLINUXSAMPLER_LT_REVISION:$LIBLINUXSAMPLER_LT_AGE" |
SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT_CURRENT:$LIBLINUXSAMPLER_LT_REVISION:$LIBLINUXSAMPLER_LT_AGE" |
152 |
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS" |
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS" |
153 |
CC="$PTHREAD_CC" |
CC="$PTHREAD_CC" |
154 |
|
|
155 |
|
|
156 |
|
# check for compiler's pragma diagnostic capabilities |
157 |
|
m4_ifdef([m4_include(m4/pragma_diagnostics.m4)],, |
158 |
|
[sinclude([m4/pragma_diagnostics.m4])]) |
159 |
|
ACX_CXX_PRAGMA_DIAGNOSTICS |
160 |
|
|
161 |
|
|
162 |
# check for a bug in NPTL-enabled glibc |
# check for a bug in NPTL-enabled glibc |
163 |
# (see Gentoo bug report #194076) |
# (see Gentoo bug report #194076) |
164 |
AC_ARG_ENABLE(nptl-bug-check, |
AC_ARG_ENABLE(nptl-bug-check, |
604 |
# Checks for various DLL libraries |
# Checks for various DLL libraries |
605 |
|
|
606 |
# Check presence of libgig |
# Check presence of libgig |
607 |
libgig_version="4.0.0" |
libgig_version="4.1.0" |
608 |
PKG_CHECK_MODULES(GIG, gig >= $libgig_version, HAVE_GIG=true, HAVE_GIG=false) |
PKG_CHECK_MODULES(GIG, gig >= $libgig_version, HAVE_GIG=true, HAVE_GIG=false) |
609 |
if test "$HAVE_GIG" = "false"; then |
if test "$HAVE_GIG" = "false"; then |
610 |
echo "Required libgig version not found!" |
echo "Required libgig version not found!" |