4 |
# LinuxSampler's / liblinuxsampler's "official" release version: |
# LinuxSampler's / liblinuxsampler's "official" release version: |
5 |
|
|
6 |
LINUXSAMPLER_RELEASE_MAJOR=0 |
LINUXSAMPLER_RELEASE_MAJOR=0 |
7 |
LINUXSAMPLER_RELEASE_MINOR=3 |
LINUXSAMPLER_RELEASE_MINOR=4 |
8 |
LINUXSAMPLER_RELEASE_BUILD=3cvs |
LINUXSAMPLER_RELEASE_BUILD=0 |
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 |
64 |
if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then |
if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then |
65 |
if test "$def_arch_x86" = 1; then |
if test "$def_arch_x86" = 1; then |
66 |
CXX_CPU_SWITCH="-march=$target_cpu" |
CXX_CPU_SWITCH="-march=$target_cpu" |
67 |
elif test "$target_cpu" = "powerpc"; then |
elif test "$target_cpu" = "ppc"; then |
68 |
CXX_CPU_SWITCH="-arch=$target_cpu" |
CXX_CPU_SWITCH="-arch=$target_cpu" |
69 |
fi |
fi |
70 |
fi |
fi |
287 |
AC_DEFINE_UNQUOTED(HAVE_COREMIDI,$have_coremidi,[Define to 1 if you have CoreMIDI installed.]) |
AC_DEFINE_UNQUOTED(HAVE_COREMIDI,$have_coremidi,[Define to 1 if you have CoreMIDI installed.]) |
288 |
|
|
289 |
# Check presence of libgig |
# Check presence of libgig |
290 |
libgig_version="3.0.0" |
libgig_version="3.1.0" |
291 |
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) |
292 |
if test "$HAVE_GIG" = "false"; then |
if test "$HAVE_GIG" = "false"; then |
293 |
echo "Required libgig version not found!" |
echo "Required libgig version not found!" |
348 |
fi |
fi |
349 |
|
|
350 |
AC_ARG_ENABLE(dev-mode, |
AC_ARG_ENABLE(dev-mode, |
351 |
[ --disable-dev-mode |
[ --enable-dev-mode |
352 |
Disable development mode (default=on). In that mode |
Enable development mode (default=off). In that mode |
353 |
we do some extra sanity checks here and there. |
we do some extra sanity checks here and there. |
354 |
This helps to spot possible problems, but reduces |
This helps to spot possible problems, but reduces |
355 |
efficiency a bit], |
efficiency a bit], |
356 |
[config_dev_mode="no"], |
[config_dev_mode="yes"], |
357 |
[config_dev_mode="yes"] |
[config_dev_mode="no"] |
358 |
) |
) |
359 |
if test "$config_dev_mode" = "yes"; then |
if test "$config_dev_mode" = "yes"; then |
360 |
AC_DEFINE_UNQUOTED(CONFIG_DEVMODE, 1, [Define to 1 if you want to enable development mode.]) |
AC_DEFINE_UNQUOTED(CONFIG_DEVMODE, 1, [Define to 1 if you want to enable development mode.]) |