3 |
|
|
4 |
m4_define(linuxsampler_release_major, 2) |
m4_define(linuxsampler_release_major, 2) |
5 |
m4_define(linuxsampler_release_minor, 1) |
m4_define(linuxsampler_release_minor, 1) |
6 |
m4_define(linuxsampler_release_build, 0.svn2) |
m4_define(linuxsampler_release_build, 1.svn10) |
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]) |
64 |
|
|
65 |
AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes) |
AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes) |
66 |
|
|
67 |
|
# make sure C++14 is supported by compiler |
68 |
|
# (add CXXFLAGS if required [e.g. -std=c++14]) |
69 |
|
m4_ifdef([m4_include(m4/ax_cxx_compile_stdcxx.m4)],, |
70 |
|
[sinclude([m4/ax_cxx_compile_stdcxx.m4])]) |
71 |
|
AX_CXX_COMPILE_STDCXX(14, [], mandatory) |
72 |
|
|
73 |
AC_MSG_CHECKING([whether x86 architecture]) |
AC_MSG_CHECKING([whether x86 architecture]) |
74 |
def_arch_x86=0 |
def_arch_x86=0 |
75 |
case $host_cpu in |
case $host_cpu in |
610 |
# Checks for various DLL libraries |
# Checks for various DLL libraries |
611 |
|
|
612 |
# Check presence of libgig |
# Check presence of libgig |
613 |
libgig_version="4.1.0" |
libgig_version="4.2.0" |
614 |
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) |
615 |
if test "$HAVE_GIG" = "false"; then |
if test "$HAVE_GIG" = "false"; then |
616 |
echo "Required libgig version not found!" |
echo "Required libgig version not found!" |