39 |
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.]) |
40 |
|
|
41 |
AC_PROG_CXX |
AC_PROG_CXX |
42 |
|
AC_LIBTOOL_WIN32_DLL |
43 |
AM_PROG_LIBTOOL |
AM_PROG_LIBTOOL |
44 |
|
|
45 |
AC_SUBST(SHLIB_VERSION_ARG) |
AC_SUBST(SHLIB_VERSION_ARG) |
62 |
AC_MSG_CHECKING([whether x86 architecture]) |
AC_MSG_CHECKING([whether x86 architecture]) |
63 |
def_arch_x86=0 |
def_arch_x86=0 |
64 |
case $target_cpu in |
case $target_cpu in |
65 |
"i386" | "i486" | "i586" | "i686" | "i786") |
"i386" | "i486" | "i586" | "i686" | "i786" | "x86_64") |
66 |
echo "yes" |
echo "yes" |
67 |
def_arch_x86=1;; |
def_arch_x86=1;; |
68 |
*) |
*) |
74 |
# (only if the user did not provide one) |
# (only if the user did not provide one) |
75 |
CXX_CPU_SWITCH= |
CXX_CPU_SWITCH= |
76 |
if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then |
if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then |
77 |
if test "$def_arch_x86" = 1; then |
if test "$def_arch_x86" = 1 -a "$target_cpu" != "x86_64"; then |
78 |
CXX_CPU_SWITCH="-march=$target_cpu" |
CXX_CPU_SWITCH="-march=$target_cpu" |
79 |
elif test "$target_cpu" = "ppc"; then |
elif test "$target_cpu" = "ppc"; then |
80 |
CXX_CPU_SWITCH="-arch=$target_cpu" |
CXX_CPU_SWITCH="-arch=$target_cpu" |
437 |
AM_CONDITIONAL(HAVE_MME_MIDI, test $have_mmemidi = "1") |
AM_CONDITIONAL(HAVE_MME_MIDI, test $have_mmemidi = "1") |
438 |
AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_mmemidi,[Define to 1 if you have MME MIDI installed.]) |
AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_mmemidi,[Define to 1 if you have MME MIDI installed.]) |
439 |
|
|
440 |
|
|
441 |
|
# DSSI |
442 |
|
AC_CHECK_HEADERS(dssi.h, |
443 |
|
have_dssi=1, |
444 |
|
have_dssi=0) |
445 |
|
AM_CONDITIONAL(HAVE_DSSI, test $have_dssi = "1") |
446 |
|
|
447 |
|
# LV2 |
448 |
|
PKG_CHECK_MODULES(LV2, lv2core, have_lv2=1, have_lv2=0) |
449 |
|
if test $have_lv2 = "0"; then |
450 |
|
AC_CHECK_HEADER(lv2.h, have_lv2=1, have_lv2=0) |
451 |
|
fi |
452 |
|
AM_CONDITIONAL(HAVE_LV2, test $have_lv2 = "1") |
453 |
|
|
454 |
|
# VST |
455 |
|
AC_ARG_ENABLE(vstsdk-dir, |
456 |
|
[ --enable-vstsdk-dir |
457 |
|
Directory where the VST SDK is located. |
458 |
|
This automatically enables the compilation |
459 |
|
of the VST plugin.], |
460 |
|
[VSTSDK_DIR="${enableval}"], |
461 |
|
[VSTSDK_DIR=] |
462 |
|
) |
463 |
|
AC_SUBST(VSTSDK_DIR) |
464 |
|
AM_CONDITIONAL(HAVE_VST, test "x$VSTSDK_DIR" != "x") |
465 |
|
|
466 |
|
|
467 |
# have we found at least one MIDI input and one audio output driver ? |
# have we found at least one MIDI input and one audio output driver ? |
468 |
if test "$have_midi_input_driver" = "false"; then |
if test "$have_midi_input_driver" = "false"; then |
469 |
echo "No supported MIDI input system found!" |
echo "No supported MIDI input system found!" |
1198 |
src/drivers/audio/Makefile \ |
src/drivers/audio/Makefile \ |
1199 |
src/drivers/midi/Makefile \ |
src/drivers/midi/Makefile \ |
1200 |
src/plugins/Makefile \ |
src/plugins/Makefile \ |
1201 |
|
src/hostplugins/Makefile \ |
1202 |
|
src/hostplugins/dssi/Makefile \ |
1203 |
|
src/hostplugins/lv2/Makefile \ |
1204 |
|
src/hostplugins/vst/Makefile \ |
1205 |
linuxsampler.spec \ |
linuxsampler.spec \ |
1206 |
debian/Makefile \ |
debian/Makefile \ |
1207 |
Artwork/Makefile \ |
Artwork/Makefile \ |